Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentAgentResponse ¶
type CurrentAgentResponse struct { IsRunning bool `json:"is_running"` ID string `json:"id"` Config map[string]string `json:"config"` }
CurrentAgentResponse is the struct to represent the response from the HTTP server for the currently running agent
type InvalidResponse ¶
InvalidResponse represents a failure from the server
type ValidResponse ¶
type ValidResponse[T interface{}] struct { Success bool `json:"success"` Response T `json:"response,omitempty"` }
ValidResponse represents a 200 success response
Click to show internal directories.
Click to hide internal directories.