Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GC GCConfig `yaml:"gc"`
Web WebConfig `yaml:"web"`
Notify NotifyConfig `yaml:"notify"`
Sandbox SandboxConfig `yaml:"sandbox"`
}
Config holds the global boid configuration.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns the default boid configuration.
type GCConfig ¶
type GCConfig struct {
Enabled bool `yaml:"-"`
Interval time.Duration `yaml:"-"`
OlderThan time.Duration `yaml:"-"`
}
GCConfig holds garbage collection settings.
type NotifyConfig ¶
type NotifyConfig struct {
Command []string `yaml:"command"`
}
NotifyConfig holds settings for agent-driven notifications.
type SandboxConfig ¶
type SandboxConfig struct {
AllowedDomains []string `yaml:"allowed_domains"`
}
SandboxConfig holds sandbox-related settings.
Click to show internal directories.
Click to hide internal directories.