clock

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0, BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CfgNTPPools defines the config flag of the NTP pools.
	CfgNTPPools = "clock.ntpPools"

	// PluginName is the name of the clock plugin.
	PluginName = "Clock"
)

Variables

View Source
var (

	// ErrSynchronizeClock is used when the local clock could not be synchronized.
	ErrSynchronizeClock = errors.New("could not synchronize clock")
)

Functions

func Plugin

func Plugin() *node.Plugin

Plugin gets the clock plugin instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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