Documentation
¶
Index ¶
- func FixBoolString(b bool) string
- func FixIntString(i int) string
- func GetAgeIdentities(interactive bool) []age.Identity
- func GetConfig() *fixConfig
- func GetLogger() *zerolog.Logger
- func GetOptions() *cliOptions
- func IntToZerologLevel(level int) zerolog.Level
- func ReadYAML(path string, interactive bool) (*fixConfig, error)
- func ReadYAMLNoAge(path string) (*fixConfig, error)
- func SetLogger(l *zerolog.Logger)
- type Acceptor
- type Context
- func (c Context) GetAcceptor() (*Acceptor, error)
- func (c Context) GetInitiator() (*Initiator, error)
- func (c *Context) GetName() string
- func (c Context) GetSession(name string) (*Session, error)
- func (c Context) GetSessions() ([]*Session, error)
- func (c Context) ToQuickFixAcceptorSettings() (*quickfix.Settings, error)
- func (c Context) ToQuickFixInitiatorSettings() (*quickfix.Settings, error)
- type HasName
- type Initiator
- type SQLStoreConfig
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixBoolString ¶
func FixIntString ¶
func GetAgeIdentities ¶
func GetOptions ¶
func GetOptions() *cliOptions
func IntToZerologLevel ¶
func ReadYAMLNoAge ¶
Types ¶
type Acceptor ¶
type Acceptor struct {
SocketAcceptHost string `yaml:"SocketAcceptHost"`
SocketAcceptPort int `yaml:"SocketAcceptPort"`
UseTCPProxy string `yaml:"UseTCPProxy"`
// contains filtered or unexported fields
}
func GetAcceptor ¶
func (*Acceptor) GetSQLStoreDataSourceName ¶
func (*Acceptor) GetSQLStoreDriver ¶
type Context ¶
type Context struct {
Name string `yaml:"name"`
Initiator string `yaml:"initiator"`
Acceptor string `yaml:"acceptor"`
Sessions []string `yaml:"sessions"`
}
func GetContext ¶
func GetContexts ¶
func GetContexts() []*Context
func GetCurrentContext ¶
func (Context) GetAcceptor ¶
func (Context) GetInitiator ¶
func (Context) GetSessions ¶
func (Context) ToQuickFixAcceptorSettings ¶
type Initiator ¶
type Initiator struct {
SocketConnectHost string `yaml:"SocketConnectHost"`
SocketConnectPort int `yaml:"SocketConnectPort"`
SocketServerName string `yaml:"SocketServerName"`
// contains filtered or unexported fields
}
func GetInitiator ¶
func (*Initiator) GetSQLStoreDataSourceName ¶
func (c *Initiator) GetSQLStoreDataSourceName() string
func (*Initiator) GetSQLStoreDriver ¶
func (c *Initiator) GetSQLStoreDriver() string
type SQLStoreConfig ¶
type Session ¶
type Session struct {
Name string `yaml:"name"`
BeginString string `yaml:"BeginString"`
DefaultApplVerID string `yaml:"DefaultApplVerID"`
HeartBtInt int `yaml:"HeartBtInt"`
SenderCompID string `yaml:"SenderCompID"`
SenderSubID string `yaml:"SenderSubID"`
SenderLocationID string `yaml:"SenderLocationID"`
TargetCompID string `yaml:"TargetCompID"`
TargetSubID string `yaml:"TargetSubID"`
TargetLocationID string `yaml:"TargetLocationID"`
SessionQualifier string `yaml:"SessionQualifier"`
Username string `yaml:"Username"`
Password string `yaml:"Password"`
StartTime string `yaml:"StartTime"`
EndTime string `yaml:"EndTime"`
StartDay string `yaml:"StartDay"`
EndDay string `yaml:"EndDay"`
TimeZone string `yaml:"TimeZone"`
TransportDataDictionary string `yaml:"TransportDataDictionary"`
AppDataDictionary string `yaml:"AppDataDictionary"`
ResetOnLogon bool `yaml:"ResetOnLogon"`
ResetOnLogout bool `yaml:"ResetOnLogout"`
ResetOnDisconnect bool `yaml:"ResetOnDisconnect"`
ReconnectInterval int `yaml:"ReconnectInterval"`
}
func GetSession ¶
func (Session) GetFIXDictionaries ¶
func (s Session) GetFIXDictionaries() (*datadictionary.DataDictionary, *datadictionary.DataDictionary, error)
Click to show internal directories.
Click to hide internal directories.