Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigDir = "./config/"
ConfigDir the directory for config files
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct {
XMLName xml.Name `xml:"dependencies"`
Dependencies []string `xml:"dependency"`
}
Dependencies struct - dependencies xml interface
type Exception ¶
type Exception struct {
Message string `json:"message"`
}
Exception struct declaration
type Listener ¶
type Listener struct {
XMLName xml.Name `xml:"listener"`
For string `xml:"for,attr"`
Call string `xml:"call,attr"`
Name string `xml:"name,attr"`
}
Listener struct - listener xml interface
type ModuleConfig ¶
type ModuleConfig struct {
XMLName xml.Name `xml:"module"`
Name string `xml:"name"`
Enabled bool `xml:"enabled"`
}
ModuleConfig structure for specific module
type ModuleXML ¶
type ModuleXML struct {
XMLName xml.Name `xml:"module"`
Name string `xml:"name"`
Version string `xml:"version"`
Events Events `xml:"events"`
Dependencies Dependencies `xml:"dependencies"`
Dir string
}
ModuleXML struct - xml interface
type ModulesConfigXML ¶
type ModulesConfigXML struct {
XMLName xml.Name `xml:"modules"`
Modules []ModuleConfig `xml:"module"`
}
ModulesConfigXML structure for XML of modules config
Click to show internal directories.
Click to hide internal directories.