ntpd

package
v0.56.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address      string       `yaml:"address"`
	Timeout      web.Duration `yaml:"timeout"`
	CollectPeers bool         `yaml:"collect_peers"`
}

type NTPd

type NTPd struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *NTPd

func (*NTPd) Charts

func (n *NTPd) Charts() *module.Charts

func (*NTPd) Check

func (n *NTPd) Check() bool

func (*NTPd) Cleanup

func (n *NTPd) Cleanup()

func (*NTPd) Collect

func (n *NTPd) Collect() map[string]int64

func (*NTPd) Init

func (n *NTPd) Init() bool

Jump to

Keyboard shortcuts

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