Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotPool ¶
type BotPool struct {
// contains filtered or unexported fields
}
BotPool holds a set of bots uniquely identified by an ID
func NewBotPool ¶
NewBotPool creates a BotPool with default values.
func (*BotPool) AddViaID ¶
AddViaID will use a BotConfigProvider to get all the necessary information to create the bot for the given Bot ID. This is an idempotent function
func (*BotPool) RemoveViaID ¶
RemoveViaID removes a bot via its ID. This is an idempotent function.
type GetBotsResponse ¶
type GetBotsResponse struct {
Bots []string `json:"bots"`
}
GetBotsResponse is the response for bots endpoint
Click to show internal directories.
Click to hide internal directories.