Documentation ¶ Index ¶ type Checker func NewNtpChecker(interval, threshold time.Duration) *Checker func (c *Checker) GetClockOffset() (time.Duration, error) func (c *Checker) OutOfSync(offset time.Duration) bool func (c *Checker) Start() func (c *Checker) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Checker ¶ type Checker struct { // contains filtered or unexported fields } func NewNtpChecker ¶ func NewNtpChecker(interval, threshold time.Duration) *Checker func (*Checker) GetClockOffset ¶ func (c *Checker) GetClockOffset() (time.Duration, error) func (*Checker) OutOfSync ¶ func (c *Checker) OutOfSync(offset time.Duration) bool func (*Checker) Start ¶ func (c *Checker) Start() func (*Checker) Stop ¶ func (c *Checker) Stop() Source Files ¶ View all Source files ntp.go Click to show internal directories. Click to hide internal directories.