Documentation ¶
Overview ¶
Package config defines the router's configuration file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { General env.General `toml:"general,omitempty"` Features env.Features `toml:"features,omitempty"` Logging log.Config `toml:"log,omitempty"` Metrics env.Metrics `toml:"metrics,omitempty"` API api.Config `toml:"api,omitempty"` }
func (*Config) InitDefaults ¶
func (cfg *Config) InitDefaults()
Click to show internal directories.
Click to hide internal directories.