Documentation
¶
Index ¶
Constants ¶
View Source
const HttpProtocol = "http://"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmConfig ¶
type AlarmConfig struct {
HttpPort int `json:"http_port"`
ProfilePort int `json:"profile_port"`
ServerAddress string `json:"server_address"`
Log newlog.LogConfig `json:"log"`
MySQLServer dbmodel.MySQLConfig `json:"mysql_server"`
Mail MailConfig `json:"mail"`
}
func (*AlarmConfig) ParseConfig ¶
func (ac *AlarmConfig) ParseConfig(configPath string)
Click to show internal directories.
Click to hide internal directories.