Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
Bot struct encapsulates all behaviour of the bot
type Config ¶
type Config struct { User string Token string BotServer string Endpoint string Secret string Host string Port string PolicyPath string DryRun bool Policies []policy.Policy `yaml:"policies"` }
Config is the user declared details provided from the yaml file it contains general info for the bot along with a `Policies` property
Click to show internal directories.
Click to hide internal directories.