Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Addr string `env:"ADDR" envDefault:"0.0.0.0:8080"` ConfigPath string `env:"CONFIG_PATH"` ConfigURL url.URL `env:"CONFIG_URL"` }
Config stores configuration parameters for interacting with the server at a global level. This can include listening address, feature flags and other configurations.
type ErrUndefinedConfig ¶ added in v0.1.0
type ErrUndefinedConfig struct{}
ErrUndefinedConfig represents a route configuration hasn't been specified.
func (*ErrUndefinedConfig) Error ¶ added in v0.1.0
func (e *ErrUndefinedConfig) Error() string
Click to show internal directories.
Click to hide internal directories.