Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ParseConfig ¶
func ParseConfig(ver string)
func SaveConfig ¶
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 ¶
type NetworkMember ¶
type PingSt ¶
type PingSt struct { SendPk int RevcPk int LossPk int MinDelay float64 AvgDelay float64 MaxDelay float64 }
Ping Struct
type PingStMini ¶
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.