package
Version:
v0.0.0-...-081712b
Opens a new window with list of versions in this module.
Published: Jan 14, 2020
License: Apache-2.0
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 {
Agent struct {
Url string `yaml: "url"`
}
Redis struct {
Endpoint string `yaml: "endpoint"`
Url string `yaml: "url"`
Port int `yaml: "port"`
Password string `yaml: "password"`
Section []string `yaml: "section"`
}
}
讀取 conf/monitor.yaml 並回傳 Config Instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.