package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 10, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Devices map[string]Device `yaml:"devices"`
Features struct {
HWMon bool `yaml:"hwmon,omitempty"`
POE bool `yaml:"poe,omitempty"`
} `yaml:"features,omitempty"`
}
Config represents the configuration for the exporter
Load reads YAML from reader and unmashals in Config
type Device struct {
Address string `yaml:"address"`
User string `yaml:"user"`
Password string `yaml:"password"`
Schema string `yaml:"schema"`
}
Device represents a target device
Source Files
¶
Click to show internal directories.
Click to hide internal directories.