Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupLogger ¶
func SetupLogger(level zap.AtomicLevel, fs afero.Fs) *zap.SugaredLogger
Types ¶
type Config ¶
type Config struct { DebugLog bool `mapstructure:"debug_log"` Modules ModulesConfig `mapstructure:"modules"` SS13 SS13Config `mapstructure:"ss13"` Discord DiscordConfig `mapstructure:"discord"` Database DatabaseConfig `mapstructure:"database"` }
type DatabaseConfig ¶
type DiscordConfig ¶
type DiscordConfig struct { BotToken string `mapstructure:"bot_token"` OOCChannelID string `mapstructure:"ooc_channel_id"` EmoteChannelID string `mapstructure:"emote_channel_id"` StatusChannelIDs []string `mapstructure:"status_channel_ids"` BYONDVerificationChannelID string `mapstructure:"byond_verification_channel_id"` AhelpChannelID string `mapstructure:"ahelp_channel_id"` }
type ModulesConfig ¶
type ModulesConfig struct { StatusUpdatesEnabled bool `mapstructure:"status_updates_enabled"` DOOCEnabled bool `mapstructure:"dooc_enabled"` BYONDVerificationEnabled bool `mapstructure:"byond_verification_enabled"` AhelpEnabled bool `mapstructure:"ahelp_enabled"` MetricsEnabled bool `mapstructure:"metrics_enabled"` Webhooks WebhooksConfig `mapstructure:"webhooks"` }
type SS13Config ¶
type WebhooksConfig ¶
Click to show internal directories.
Click to hide internal directories.