Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NTPTimeSource ¶
type NTPTimeSource struct {
// contains filtered or unexported fields
}
NTPTimeSource is a time source which uses a NTP server.
func NewNTPTimeSource ¶
func NewNTPTimeSource(ntpServer string) *NTPTimeSource
NewNTPTimeSource creates a new TimeSource using the given NTP server.
type SystemClock ¶
type SystemClock struct{}
SystemClock is a TimeSource which uses the system clock.
type TimeSource ¶
TimeSource defines a source of time.
Click to show internal directories.
Click to hide internal directories.