Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { Id string `json:"id"` Collector Collector `json:"collector"` Service Service `json:"service"` LastCheckTime int64 `json:"LastCheckTime"` LastCheckState bool `json:"LastCheckState"` }
func (*Agent) StartCollector ¶
func (self *Agent) StartCollector()
func (*Agent) StartJsonRpcServer ¶
func (self *Agent) StartJsonRpcServer()
type Collector ¶
type Service ¶
type Service struct { jsonrpc.JsonRpcServer // contains filtered or unexported fields }
func (*Service) InitHandler ¶
func (self *Service) InitHandler()
Click to show internal directories.
Click to hide internal directories.