Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig(v interface{}) error
Types ¶
type Config ¶
type Config struct { DevMode bool `json:"dev_mode"` DevGuildIDs []snowflake.Snowflake `json:"dev_guild_ids"` SupportGuildID snowflake.Snowflake `json:"support_guild_id"` DevUserIDs []snowflake.Snowflake `json:"dev_user_ids"` LogLevel log.Level `json:"log_level"` ErrorLogWebhook LogWebhookConfig `json:"error_log_webhook"` InfoLogWebhook LogWebhookConfig `json:"info_log_webhook"` Token string `json:"token"` Database db.DatabaseConfig `json:"database"` }
type LogWebhookConfig ¶
Click to show internal directories.
Click to hide internal directories.