Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// Config stores the application configuration.
Config *config.Config
// Logger provies access to logging functions.
Logger *zap.Logger
// DiscordSession provides access to the underlying discordgo library.
DiscordSession *discordgo.Session
}
Container contains all services used by the bot and provides an easy way to handle dependency injection.
func NewContainer ¶
Click to show internal directories.
Click to hide internal directories.