config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Var = Config{
	Switches: []SwitchConfig{},
	Interval: 30,
	Port:     8080,
}

Var holds the running configuration of the program

Functions

This section is empty.

Types

type Config

type Config struct {
	Switches []SwitchConfig
	Interval int
	Port     int
}

Config represents the configuration of the exporter

type SwitchConfig

type SwitchConfig struct {
	URL      string
	Password string
}

SwitchConfig represents the configuration for a particular target switch

Jump to

Keyboard shortcuts

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