Documentation ¶
Overview ¶
Package config defines the structure of Aker's configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig `yaml:"server"` Endpoints []Endpoint `yaml:"endpoints"` }
func LoadFromFile ¶
type Endpoint ¶
type Endpoint struct { Path string `yaml:"path"` Audit bool `yaml:"audit"` Plugins []PluginReference `yaml:"plugins"` }
type PluginConfig ¶
type PluginConfig map[string]interface{}
type PluginReference ¶
type PluginReference struct { Name string `yaml:"name"` Config PluginConfig `yaml:"configuration"` }
Click to show internal directories.
Click to hide internal directories.