Versions in this module Expand all Collapse all v0 v0.5.0 Sep 1, 2016 Changes in this version + type Event int + const LogonTimeout + const LogoutTimeout + const NeedHeartbeat + const PeerTimeout + type EventTimer struct + Task func() + func (t *EventTimer) Reset(timeout time.Duration) (ok bool) + func (t *EventTimer) Stop() (ok bool) + type SessionSettings struct + DefaultApplVerID string + HeartBtInt time.Duration + InitiateLogon bool + ReconnectInterval time.Duration + RefreshOnLogon bool + ResetOnLogon bool + ResetOnLogout bool + SessionTime *TimeRange + 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, loc *time.Location) *TimeRange + func NewUTCTimeRange(start, end TimeOfDay) *TimeRange + func NewUTCWeekRange(startTime, endTime TimeOfDay, startDay, endDay time.Weekday) *TimeRange + func NewWeekRangeInLocation(startTime, endTime TimeOfDay, startDay, endDay time.Weekday, ...) *TimeRange + func (r *TimeRange) IsInRange(t time.Time) bool + func (r *TimeRange) IsInSameRange(t1, t2 time.Time) bool