ntp

package
Version: v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ntp provides ntp synchronized time

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTime

func NewTime(opts ...time.Option) time.Time

NewTime returns ntp time

func WithServer

func WithServer(s string) time.Option

WithServer sets the ntp server

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL