Versions in this module Expand all Collapse all v0 v0.2.0 Oct 20, 2017 Changes in this version type Response + KissCode string v0.1.1 Oct 3, 2017 v0.1.0 Sep 30, 2017 Changes in this version + const LeapAddSecond + const LeapDelSecond + const LeapNoWarning + const LeapNotInSync + const MaxStratum + func Time(host string) (time.Time, error) + func TimeV(host string, version int) (time.Time, error) + type LeapIndicator uint8 + type QueryOptions struct + LocalAddress string + Port int + TTL int + Timeout time.Duration + Version int + type Response struct + ClockOffset time.Duration + Leap LeapIndicator + MinError time.Duration + Poll time.Duration + Precision time.Duration + RTT time.Duration + ReferenceID uint32 + ReferenceTime time.Time + RootDelay time.Duration + RootDispersion time.Duration + RootDistance time.Duration + Stratum uint8 + Time time.Time + func Query(host string) (*Response, error) + func QueryWithOptions(host string, opt QueryOptions) (*Response, error) + func (r *Response) Validate() error