Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Common config.Common `toml:"common"` Listener HTTP `toml:"http"` Processor Processor `toml:"processor"` Operators Operators `toml:"operators"` Entities Entities `toml:"entities"` }
Config -- application config
type Entity ¶
type Entity struct { Idx int `toml:"-"` ID uint `toml:"id"` Enabled bool `toml:"enabled"` Name string `toml:"name"` Description string `toml:"description"` Type string `toml:"type"` Delay uint `toml:"delay"` AlertLevelHigh int `toml:"alert-level-high"` AlertLevelLow int `toml:"alert-level-low"` Login string `toml:"login"` Password string `toml:"password"` Schedule string `toml:"schedule"` }
Entity -- object
type Operator ¶
type Operator struct { Description string `toml:"description"` Timeout uint `toml:"timeout"` Tasks []string `toml:"tasks"` }
Operator --
type Processor ¶
type Processor struct { TimeZoneInfoFile string `toml:"tz-info-file"` CronLocation string `toml:"cron-location"` Schedule string `toml:"schedule"` ViewBrowser bool `toml:"view-browser"` StdTimeout uint `toml:"std-timeout"` DB string `toml:"db"` TemplatesDir string `toml:"templates-dir"` Templates []string `toml:"-"` }
Processor -- processor options
Click to show internal directories.
Click to hide internal directories.