clock

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Parameters = &ParametersDefinition{}

Parameters contains the configuration parameters of the clock plugin.

View Source
var (
	// Plugin is the plugin instance of the clock plugin.
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

type ParametersDefinition added in v0.7.4

type ParametersDefinition struct {
	// NTPPools defines the config flag of the NTP pools.
	NTPPools []string `default:"0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org" usage:"list of NTP pools to synchronize time from"`
}

ParametersDefinition contains the definition of configuration parameters used by the clock plugin.

Jump to

Keyboard shortcuts

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