Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MySQL struct { Addr string `yaml:"addr" json:"addr"` Username string `yaml:"username" json:"username"` Password string `yaml:"password" json:"password"` Database string `yaml:"database" json:"database"` DatasourceName string `yaml:"datasource_name" json:"-"` } `yaml:"mysql"` Listen string `yaml:"listen"` Web struct { Dir string `yaml:"dir"` IndexFile string `yaml:"index_file"` } `yaml:"web"` Inactive bool `yaml:"inactive"` Channels []events.ChannelSpec `yaml:"channels"` Auth struct { LoginRedirect string `yaml:"login_redirect"` SecretKey string `yaml:"secret_key"` EnableProxyAuth bool `yaml:"enable_proxy_auth"` } `yaml:"auth"` Admin map[string]string `yaml:"admin"` }
Config is the main configuration structure
Click to show internal directories.
Click to hide internal directories.