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 ¶
SwitchConfig represents the configuration for a particular target switch
Click to show internal directories.
Click to hide internal directories.