Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 v0.0.1 Oct 30, 2023 Changes in this version + var ErrIndexOutOfBounds = errors.New("index is out of bounds") + func NewNTPGoogleConfig() config.NTPConfig + func NewSyncTime(ntpConfig config.NTPConfig, ...) *syncTime + type NTPOptions struct + Hosts []string + LocalAddress string + Port int + Timeout time.Duration + Version int + func NewNTPOptions(ntpConfig config.NTPConfig) NTPOptions + type SyncTimer interface + ClockOffset func() time.Duration + Close func() error + CurrentTime func() time.Time + FormattedCurrentTime func() string + IsInterfaceNil func() bool + StartSyncingTime func()