Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Discord struct { Auth string `mapstructure:"auth"` Guilds []uint64 `mapstructure:"guilds"` Channels []uint64 `mapstructure:"channels"` } `mapstructure:"discord"` Posts struct { IgnoreRegexp *regexp.Regexp `mapstructure:"ignore_regexp"` } `mapstructure:"posts"` Storage struct { PostgresDSN string `mapstructure:"postgres_dsn"` } `mapstructure:"storage"` Logging struct { Level zapcore.Level `mapstructure:"level"` } `mapstructure:"logging"` Api struct { Port uint16 `mapstructure:"port"` } `mapstructure:"api"` }
Click to show internal directories.
Click to hide internal directories.