Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Main MainConfig Mattermost MattermostConfig HTTP HTTPConfig Team map[string]TeamConfig Routes map[string]*RouteConfig Modules map[string][]map[string]interface{} }
func LoadConfig ¶
func (*Config) ModuleDataDir ¶
ModuleDataDir returns the path to a modules data directory.
type HTTPConfig ¶
type HTTPConfig struct {
Address string
}
type MainConfig ¶
type MattermostConfig ¶
type RouteConfig ¶
type TeamConfig ¶
type TeamConfig struct {
Channels []string
}
Click to show internal directories.
Click to hide internal directories.