Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HookRegister map[string]HookHandler
Functions ¶
Types ¶
type Config ¶
type Config struct {
LogLevel logger.Level `toml:"log_level"`
WebserverBind string `toml:"webserver_bind"`
XMPP struct {
Address string `toml:"address"`
JID string `toml:"jid"`
Password string `toml:"password"`
} `toml:"xmpp"`
Nickname string `toml:"nickname"`
StartupNotifyUser []string `toml:"startup_notify_user"`
StartupNotifyMuc []string `toml:"startup_notify_muc"`
Hooks map[string][]Hook `toml:"hooks"`
}
type HookHandler ¶
Click to show internal directories.
Click to hide internal directories.