config

package
v0.0.0-...-cf3610b Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period:  30 * time.Second,
	Address: "10.9.0.15:9003",
	Metrics: []string{"CPU", "memory", "interfaces"},
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period  time.Duration `config:"period"`
	Address string        `config:"address"`
	Metrics []string      `config:"metrics"`
}

Jump to

Keyboard shortcuts

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