Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConfFile = errors.New("no configuration file specified")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Bind string `toml:"bind"` URL string `toml:"url"` ScriptDir string `toml:"script_dir"` WorkDir string `toml:"work_dir"` StoreDir string `toml:"store_dir"` MaxJobs int `toml:"max_jobs"` MaxExecTime int `toml:"max_exec_time"` DB DBConfig `toml:"db"` Queue QueueConfig `toml:"queue"` Slack SlackConfig `toml:"slack"` }
Config holds configuration read from config file.
type QueueConfig ¶
type QueueConfig struct {
DisqueURI string `toml:"disque_uri"`
}
type SlackConfig ¶
Click to show internal directories.
Click to hide internal directories.