Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientStatus ¶
type ClientStatus struct { Addr string Counter counter.Counter ErrorCounter counter.Counter UpTime int64 }
ClientStatus agent client status
func (*ClientStatus) ClientHost ¶
func (c *ClientStatus) ClientHost() string
ClientHost extract from client addr
type TCPCollect ¶
type TCPCollect struct {
// contains filtered or unexported fields
}
TCPCollect tcp server.
func (*TCPCollect) ClientStatus ¶
func (s *TCPCollect) ClientStatus() []*ClientStatus
ClientStatus ClientStatus
func (*TCPCollect) RegisterProcess ¶
func (s *TCPCollect) RegisterProcess(p process.Processer)
RegisterProcess implement process.Processer
Click to show internal directories.
Click to hide internal directories.