You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To update QuickFIX/Go to the latest version, use `go get -u github.com/quickfixgo/quickfix`.
28
26
29
-
###Example Apps
27
+
## Example Apps
30
28
31
29
See [examples](https://github.com/quickfixgo/examples) for some simple examples of using QuickFIX/Go.
32
30
33
-
###FIX Message Generation
31
+
## FIX Message Generation
34
32
35
33
QuickFIX/Go includes separate packages for tags, fields, enums, messages, and message components generated from the FIX 4.0 - FIX5.0SP2 specs. See:
36
34
@@ -51,14 +49,17 @@ For most FIX applications, these generated resources are sufficient. Custom FIX
51
49
52
50
Following installation, `generate-fix` is installed to `$GOPATH/bin/generate-fix`. Run `$GOPATH/bin/generate-fix --help` for usage instructions.
53
51
54
-
Developing QuickFIX/Go
55
-
----------------------
52
+
## Developing QuickFIX/Go
56
53
57
-
If you wish to work on QuickFIX/Go itself, you will first need [Go](http://www.golang.org) installed and configured on your machine (version 1.13+ is preferred, but the minimum required version is 1.6).
54
+
If you wish to work on QuickFIX/Go itself, you will need [Docker](https://docs.docker.com/get-docker/)and [VSCode](https://code.visualstudio.com/download) on your machine.
58
55
59
-
Next, using [Git](https://git-scm.com/), clone the repository via `git clone [email protected]:quickfixgo/quickfix.git`
56
+
* Clone the repo and open it with VSCode with Docker running
57
+
* This repo comes with vscode devcontainer configs in `./.devcontainer/`
58
+
* Click the pop-up to re-open the project in the Dev Container
59
+
* This opens the project in a docker container pre-configured with everything you need
60
60
61
-
### Installing Dependencies
61
+
62
+
## Installing Dependencies
62
63
63
64
As of Go version 1.13, QuickFIX/Go uses [modules](https://github.com/golang/go/wiki/Modules) to manage dependencies. You may require `GO111MODULE=on`. To install dependencies, run
64
65
@@ -68,48 +69,50 @@ go mod download
68
69
69
70
**Note:** No vendored dependencies are included in the QuickFIX/Go source.
70
71
71
-
###Build and Test
72
+
## Build and Test
72
73
73
74
The default make target runs [go vet](https://godoc.org/golang.org/x/tools/cmd/vet) and unit tests.
74
75
75
76
```sh
76
-
$ make
77
+
make
77
78
```
78
79
79
80
If this exits with exit status 0, then everything is working!
80
81
81
-
###Generated Code
82
+
## Generated Code
82
83
83
84
Generated code from the FIX40-FIX50SP2 specs are available as separate repos under the [QuickFIX/Go organization](https://github.com/quickfixgo). The source specifications for this generated code is located in `spec/`. Generated code can be identified by the `.generated.go` suffix. Any changes to generated code must be captured by changes to source in `cmd/generate-fix`. After making changes to the code generator source, run the following to re-generate the source
84
85
85
86
```sh
86
-
$ make generate-dist
87
+
make generate
87
88
```
88
89
89
90
If you are making changes to the generated code, please create Pull Requests for these changes for the affected repos.
90
91
91
-
###Acceptance Tests
92
+
## Acceptance Tests
92
93
93
94
QuickFIX/Go has a comprehensive acceptance test suite covering the FIX protocol. These are the same tests used across all QuickFIX implementations.
94
95
95
-
QuickFIX/Go acceptance tests depend on ruby in path.
96
+
QuickFIX/Go acceptance tests depend on ruby in path, if you are using the dev container, it is already installed
96
97
97
98
To run acceptance tests,
98
99
99
-
# generate code locally
100
-
make generate
100
+
```sh
101
+
# generate code locally
102
+
make generate
101
103
102
-
# build acceptance test rig
103
-
make build-test-srv
104
+
# build acceptance test rig
105
+
make build-test-srv
104
106
105
-
# run acceptance tests
106
-
make accept
107
+
# run acceptance tests
108
+
make accept
109
+
```
107
110
108
-
###Dependencies
111
+
## Dependencies
109
112
110
113
If you are developing QuickFIX/Go, there are a few tasks you might need to perform related to dependencies.
111
114
112
-
####Adding/updating a dependency
115
+
### Adding/updating a dependency
113
116
114
117
If you are adding or updating a dependency, you will need to update the `go.mod` and `go.sum` in the same Pull Request as the code that depends on it. You should do this in a separate commit from your code, as this makes PR review easier and Git history simpler to read in the future.
Copy file name to clipboardExpand all lines: config/doc.go
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -363,6 +363,10 @@ MongoStoreDatabase
363
363
364
364
The MongoDB-specific name of the database to use. Only used with MongoStoreFactory.
365
365
366
+
MongoStoreReplicaSet
367
+
368
+
The MongoDB-specific name of the replica set to use. Optional, only used with MongoStoreFactory.
369
+
366
370
SQLStoreDriver
367
371
368
372
The name of the database driver to use (see https://github.com/golang/go/wiki/SQLDrivers for the list of available drivers). Only used with SqlStoreFactory.
0 commit comments