Documentation ¶
Index ¶
Constants ¶
View Source
const ( NtpMsgSize int = 48 // no auth Jan1970 = 2208988800 NanosPerSecond = 1000 * 1000 * 1000 )
View Source
const ( VersionMask = 7 << 3 ModeMask = 7 << 0 ModeServer = 4 ModeClient = 3 ModeSymAct = 1 // Symmetric active ModeSymPas = 2 // Symmetric passive )
Variables ¶
View Source
var Log = new(Logger)
Functions ¶
func HandleSignals ¶
func HandleSignals(cleanup func() error)
Types ¶
type ErrorTimeout ¶
type ErrorTimeout struct {
// contains filtered or unexported fields
}
func (*ErrorTimeout) Error ¶
func (e *ErrorTimeout) Error() string
Click to show internal directories.
Click to hide internal directories.