Documentation ¶
Overview ¶
package genfix is a FIX message format generator.
package genfix is a FIX message format generator.
Index ¶
- func Generate(dir string, pkg Package, opts ...Option) error
- type Config
- type EnumFormat
- type EnumFormatTag
- type Length
- type LengthTag
- type Option
- func FIX40() []Option
- func FIX41() []Option
- func FIX42() []Option
- func FIX43() []Option
- func FIX44() []Option
- func FIX50() []Option
- func FIX50SP1() []Option
- func FIX50SP2() []Option
- func FIXT11() []Option
- func MOEX44() []Option
- func WithEnumFormat(formats ...EnumFormat) Option
- func WithEnumFormatTag(formats ...EnumFormatTag) Option
- func WithLength(lengths ...Length) Option
- func WithLengthTag(lengths ...LengthTag) Option
- func WithSerialize(serializes ...Serialize) Option
- func WithSerializeTag(serializes ...SerializeTag) Option
- type Package
- type Serialize
- type SerializeTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.0.52
type Config struct { Serialize map[string]Serialize SerializeTag map[int]SerializeTag EnumFormat map[string]EnumFormat EnumFormatTag map[int]EnumFormatTag Length map[string]Length LengthTag map[int]LengthTag }
type EnumFormatTag ¶ added in v0.0.52
type Option ¶
type Option func(*Config)
func FIX50SP1 ¶ added in v0.0.52
func FIX50SP1() []Option
FIX50SP1 is a FIX.5.0 service pack 1 configuration.
func FIX50SP2 ¶ added in v0.0.52
func FIX50SP2() []Option
FIX50SP2 is a FIX.5.0 service pack 2 configuration.
func FIXT11 ¶ added in v0.0.52
func FIXT11() []Option
FIXT11 is a FIXT.1.0 (transport) configuration.
func WithEnumFormat ¶
func WithEnumFormat(formats ...EnumFormat) Option
func WithEnumFormatTag ¶ added in v0.0.52
func WithEnumFormatTag(formats ...EnumFormatTag) Option
func WithLength ¶
func WithLengthTag ¶ added in v0.0.52
func WithSerialize ¶
func WithSerializeTag ¶ added in v0.0.52
func WithSerializeTag(serializes ...SerializeTag) Option
type SerializeTag ¶ added in v0.0.52
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
testspec
Package testspec provides test FIX.0.1 protocol format.
|
Package testspec provides test FIX.0.1 protocol format. |
testspec/testspeclogon
Package testspeclogon is a format of the test FIX.0.1 Logon message.
|
Package testspeclogon is a format of the test FIX.0.1 Logon message. |
Click to show internal directories.
Click to hide internal directories.