Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port string Hostname string ServerKeyPath string ServerCrtPath string AutoTLS bool CacheDir string }
Config is the configuration of the bot's main cycle.
type Dependencies ¶
Dependencies defines needed dependencies for this bot.
type GaiaBot ¶
type GaiaBot struct { Config Dependencies }
GaiaBot is a server.
func NewServer ¶
func NewServer(cfg Config, deps Dependencies) *GaiaBot
NewServer creates a new gaia bot server.
Click to show internal directories.
Click to hide internal directories.