Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ParseConfig ¶
func ParseConfig(ver string)
func SaveConfig ¶ added in v0.5.0
func SaveConfig() error
Types ¶
type Config ¶
type Config struct { Ver string Port int Name string Addr string Mode map[string]string Base map[string]int Topology map[string]string Alert map[string]string Network map[string]NetworkMember Chinamap map[string]map[string][]string Toollimit int Authiplist string Password string }
func ReadConfig ¶
func SaveCloudConfig ¶ added in v0.8.0
type NetworkMember ¶ added in v0.8.0
type PingSt ¶ added in v0.4.0
type PingSt struct { SendPk int RevcPk int LossPk int MinDelay float64 AvgDelay float64 MaxDelay float64 }
Ping Struct
type PingStMini ¶ added in v0.8.0
type PingStMini struct { Lastcheck []string `json:"lastcheck"` LossPk []string `json:"losspk"` AvgDelay []string `json:"avgdelay"` }
Ping mini graph Struct
Click to show internal directories.
Click to hide internal directories.