Documentation
¶
Overview ¶
Package config resolves settings and XDG paths on Linux and macOS.
Index ¶
Constants ¶
View Source
const Defaults = "concurrency = 2\nkeep_runs = 50\nallow_agent_scheduling = false\nmdkb_path = \"\"\nmdkb_root = \"\"\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ConfigDir string `toml:"-"`
DataDir string `toml:"data_dir"`
Concurrency int `toml:"concurrency"`
KeepRuns int `toml:"keep_runs"`
AllowAgentScheduling bool `toml:"allow_agent_scheduling"`
MDKBPath string `toml:"mdkb_path"`
MDKBRoot string `toml:"mdkb_root"`
}
type ValidationError ¶
type ValidationError struct{ Err error }
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.