Documentation ¶
Overview ¶
Package api implements the agent IPC api. Using HTTP calls, it's possible to communicate with the agent, sending commands and receiving infos.
Package api implements the agent IPC api. Using HTTP calls, it's possible to communicate with the agent, sending commands and receiving infos.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModifyAPIRouter ¶ added in v0.9.0
ModifyAPIRouter allows to pass in a function to modify router used in server
func StartServer ¶
func StartServer() error
StartServer creates the router and starts the HTTP server
func StopServer ¶
func StopServer()
StopServer closes the connection and the server stops listening to new commands.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.