clock

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0, BSD-2-Clause Imports: 11 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 *node.Plugin

Plugin is the plugin instance of the clock 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