Versions in this module Expand all Collapse all v1 v1.0.2 Feb 7, 2025 v1.0.1 Jan 20, 2025 Changes in this version + type Event int + const LogonTimeout + const LogoutTimeout + const NeedHeartbeat + const PeerTimeout + type EventTimer struct + func NewEventTimer(task func()) *EventTimer + func (t *EventTimer) Reset(timeout time.Duration) + func (t *EventTimer) Stop() + type SessionSettings struct + DefaultApplVerID string + DisableMessagePersist bool + EnableLastMsgSeqNumProcessed bool + EnableNextExpectedMsgSeqNum bool + HeartBtInt time.Duration + HeartBtIntOverride bool + InitiateLogon bool + LogonTimeout time.Duration + LogoutTimeout time.Duration + MaxLatency time.Duration + ReconnectInterval time.Duration + RefreshOnLogon bool + ResendRequestChunkSize int + ResetOnDisconnect bool + ResetOnLogon bool + ResetOnLogout bool + SessionTime *TimeRange + SkipCheckLatency bool + SocketConnectAddress []string + type TimeOfDay struct + func NewTimeOfDay(hour, minute, second int) TimeOfDay + func ParseTimeOfDay(str string) (TimeOfDay, error) + type TimeRange struct + func NewTimeRangeInLocation(start, end TimeOfDay, weekdays []time.Weekday, loc *time.Location) (*TimeRange, error) + func NewUTCTimeRange(start, end TimeOfDay, weekdays []time.Weekday) (*TimeRange, error) + func NewUTCWeekRange(startTime, endTime TimeOfDay, startDay, endDay time.Weekday) (*TimeRange, error) + func NewWeekRangeInLocation(startTime, endTime TimeOfDay, startDay, endDay time.Weekday, ...) (*TimeRange, error) + func (r *TimeRange) IsInRange(t time.Time) bool + func (r *TimeRange) IsInSameRange(t1, t2 time.Time) bool