Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
Types ¶
type BotConfig ¶
type BotConfig struct { NotificationMode string `toml:"notification-mode"` LINEConfigs []LINEConfig `toml:"line"` SlackConfigs []SlackConfig `toml:"slack"` DiscordConfigs []DiscordConfig `toml:"discord"` }
type Config ¶
type Config struct { BindAddr string `toml:"bind-addr"` BindPort int `toml:"bind-port"` MinecraftHostname string `toml:"minecraft-hostname"` LogLevel string `toml:"log-level"` Bot BotConfig `toml:"bot"` Rcon RconConfig `toml:"rcon"` }
func ParseConfig ¶
type DiscordConfig ¶
type LINEConfig ¶
type RconConfig ¶
type RedisConfig ¶
type SharedMemConfig ¶
type SharedMemConfig struct {}
type SlackConfig ¶
Click to show internal directories.
Click to hide internal directories.