Versions in this module Expand all Collapse all v1 v1.0.0 Mar 23, 2020 Changes in this version + const VERSION + var DetectedItemMap = &DetectedItemSafeMap + func Parse(cfg string) error + type AlarmConfig struct + Batch int + CallTimeout int + Cluster map[string]string + ConnTimeout int + Enable bool + MaxConns int + MaxIdle int + Replicas int + SleepTime int + type DetectedItemSafeMap struct + M map[string][]*dataobj.DetectedItem + func (this *DetectedItemSafeMap) Get(key string) ([]*dataobj.DetectedItem, bool) + func (this *DetectedItemSafeMap) GetAll() map[string][]*dataobj.DetectedItem + func (this *DetectedItemSafeMap) Set(detectedItemMap map[string][]*dataobj.DetectedItem) + type FalconConfig struct + Addr string + Enable bool + Interval int + type GlobalConfig struct + Admins []string + Alarm *AlarmConfig + Debug bool + Falcon *FalconConfig + Http *HttpConfig + IDC []string + KeepDurationHour int + Ldap *LdapConfig + Mysql *MysqlConfig + Prom *PromConfig + Register bool + Rpc *RpcConfig + Salt string + ShowDurationMin int + Statsd *StatsdConfig + var Config *GlobalConfig + type HttpConfig struct + Listen string + Secret string + type InternalDnsConfig struct + CMD string + Enable bool + type LdapConfig struct + Addr string + Attributes []string + BaseDN string + BindDN string + BindPasswd string + Enabled bool + UserField string + type LogConfig struct + Filename string + Level string + Path string + type MysqlConfig struct + Addr string + Idle int + Max int + type PromConfig struct + Addr string + Enable bool + type RpcConfig struct + Listen string + type StatsdConfig struct + Addr string + Enable bool