Versions in this module Expand all Collapse all v0 v0.1.1 May 3, 2024 Changes in this version type Session + func NewSessionWithOptions(address string, opt *SessionOptions) (*Session, error) + type SessionOptions struct + TLSConfig *tls.Config v0.1.0 Jul 13, 2023 Changes in this version + var ErrAuthFailedOnClient = errors.New("authentication failed on client") + var ErrAuthFailedOnServer = errors.New("authentication failed on server") + var ErrInvalidFormat = errors.New("invalid packet format") + var ErrKeyExchangeFailed = errors.New("key exchange failure") + var ErrNoCookies = errors.New("no NTS cookies available") + var ErrUniqueIDMismatch = errors.New("client and server unique ID mismatch") + type Session struct + func NewSession(address string) (*Session, error) + func (s *Session) Address() string + func (s *Session) Query() (response *ntp.Response, err error) + func (s *Session) QueryWithOptions(opt *ntp.QueryOptions) (response *ntp.Response, err error) + func (s *Session) Refresh() error