Documentation ¶
Overview ¶
Package cltclient provide fetch and merge data from collector
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client collector client
type ClientStatus ¶
type ClientStatus struct { Addr string `json:"addr"` UpTime int64 `json:"up_time"` ErrCount int64 `json:"err_count"` Rate int64 `json:"rate"` }
ClientStatus client status
type ClientStatusResp ¶
type ClientStatusResp struct { QueueLen int `json:"queue_len"` Clients []*ClientStatus `json:"clients"` }
ClientStatusResp response clientstatus request just for debug
type CltStatus ¶
type CltStatus struct { Node string `json:"node"` QueueLen int `json:"queue_len"` Clients []*ClientStatus `json:"clients"` }
CltStatus collector status
Click to show internal directories.
Click to hide internal directories.