Documentation
¶
Index ¶
- Variables
- func AddChannel(agentID uuid.UUID, cmdType string, cmd []string) error
- func GetAgentList() func(string) []string
- func Info(j messages.Base, p messages.AgentInfo)
- func InitialCheckIn(j messages.Base, p messages.SysInfo)
- func Log(agentID uuid.UUID, logMessage string)
- func ShowInfo(agentID uuid.UUID)
- func StatusCheckIn(j messages.Base) messages.Base
Constants ¶
This section is empty.
Variables ¶
View Source
var Agents = make(map[uuid.UUID]*agent)
Agents contains all of the instantiated agent object that are accessed by other modules
Functions ¶
func AddChannel ¶
AddChannel is the function used to add commands for an agent to run into the channel
func GetAgentList ¶
GetAgentList returns a list of agents that exist and is used for command line tab completion
func InitialCheckIn ¶
InitialCheckIn is run on the first communication with an agent and is used to instantiate an agent object
func Log ¶
func Log(agentID uuid.UUID, logMessage string)
Log is used to write log messages to the agent's log file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.