Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { UsersConf []UserConf `json:"users_conf"` OpenNMSAddress string `json:"opennms_address"` CleanupDuration int `json:"cleanup_duration"` }
Config read from resources/conf.json file
func ReadConfig ¶
ReadConfig reads the configurations from conf.json file
type FMConfig ¶
type FMConfig struct { Source string `json:"source"` NodeID string `json:"node_id"` Host string `json:"host"` Service string `json:"service"` DestinationDir string `json:"destination_dir"` }
FMConfig keeps configuration needed to push alarm data to OpenNMS
Click to show internal directories.
Click to hide internal directories.