Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "xodbox.yaml"
View Source
const DefaultNotifyFilter = "^/l"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type ConfigFile ¶
type ConfigFile struct {
Defaults map[string]string `yaml:"defaults"`
Handlers []map[string]string `yaml:"handlers"`
Notifiers []map[string]string `yaml:"notifiers"`
}
func ConfigFromFile ¶
func ConfigFromFile(configFile string) (*ConfigFile, error)
func (*ConfigFile) ToAppConfig ¶
func (conf *ConfigFile) ToAppConfig() *AppConfig
type Xodbox ¶
type Xodbox struct {
// contains filtered or unexported fields
}
func (*Xodbox) GetTemplateData ¶
func (*Xodbox) RegisterNotificationHandler ¶
Click to show internal directories.
Click to hide internal directories.