Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelsIDs ¶
type ChannelsIDs struct { NextId uint64 `json:"next_id"` NextIdSaved uint64 `json:"next_id_saved"` // statistics StatRegCount int `json:"stat_reg_count"` StatSaveNextIdCount int `json:"stat_save_next_id_count"` StatSaveNextIdCountTry int `json:"stat_save_next_id_count_try"` StatSaveNextIdCountSuccess int `json:"stat_save_next_id_count_success"` StatSaveNextIdCountErrorOpen int `json:"stat_save_next_id_count_error_open"` StatSaveNextIdCountErrorWrite int `json:"stat_save_next_id_count_error_write"` StatSaveNextIdCountErrorClose int `json:"stat_save_next_id_count_error_close"` }
type OnlineChannel ¶
type Router ¶
type Router struct { Auth *Users `json:"auth"` ServerStatisticsItems []ServerStatistics `json:"server_statistics_items"` OnlineChannels []OnlineChannel `json:"online_channels"` ChannelsIDs *ChannelsIDs `json:"channels_ids"` Info string `json:"info"` }
type ServerStatistics ¶
type ServerStatistics struct { Name string `json:"name"` CPUUsage float64 `json:"cpu_usage"` MemUsage float32 `json:"mem_usage"` Mem float64 `json:"mem"` FDs int `json:"f_ds"` Connections int `json:"connections"` ThreadsCount int `json:"threads_count"` Status string `json:"status"` InnerState string `json:"inner_state"` TrafficIn float64 `json:"traffic_in"` TrafficOut float64 `json:"traffic_out"` Scores int `json:"scores"` }
Click to show internal directories.
Click to hide internal directories.