35 lines
1.0 KiB
Go
35 lines
1.0 KiB
Go
package internal
|
|
|
|
import "time"
|
|
|
|
// SessionSettings stores all of the configuration for a given session.
|
|
type SessionSettings struct {
|
|
ResetOnLogon bool
|
|
RefreshOnLogon bool
|
|
ResetOnLogout bool
|
|
ResetOnDisconnect bool
|
|
HeartBtInt time.Duration
|
|
HeartBtIntOverride bool
|
|
SessionTime *TimeRange
|
|
InitiateLogon bool
|
|
ResendRequestChunkSize int
|
|
EnableLastMsgSeqNumProcessed bool
|
|
EnableNextExpectedMsgSeqNum bool
|
|
SkipCheckLatency bool
|
|
MaxLatency time.Duration
|
|
DisableMessagePersist bool
|
|
TimeZone *time.Location
|
|
ResetSeqTime time.Time
|
|
EnableResetSeqTime bool
|
|
InChanCapacity int
|
|
|
|
// Required on logon for FIX.T.1 messages.
|
|
DefaultApplVerID string
|
|
|
|
// Specific to initiators.
|
|
ReconnectInterval time.Duration
|
|
LogoutTimeout time.Duration
|
|
LogonTimeout time.Duration
|
|
SocketConnectAddress []string
|
|
}
|