Documentation
¶
Index ¶
- type Agent
- func (self *Agent) Add(r *http.Request, conn *websocket.Conn) *ws.Socket
- func (self *Agent) Listen()
- func (self *Agent) Logger() *client.LoggerClient
- func (self *Agent) Remove(socketId string) error
- func (self *Agent) SendToAgent(agentId string, msg ws.Message) error
- func (self *Agent) SendToAgents(msg ws.Message) error
- func (self *Agent) SendToParent(msg ws.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
ID string
Address string
ParentAddress string
Name string
Description string
ClientID string
ClientSecret string
StartedAt time.Time
Edges []models.AgentStat
// contains filtered or unexported fields
}
func (*Agent) Logger ¶
func (self *Agent) Logger() *client.LoggerClient
Click to show internal directories.
Click to hide internal directories.