Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Telemetry *telemetry.Config `yaml:"telemetry" validate:"required"`
API *api.Config `yaml:"api" validate:"required"`
Routers routers.Config `yaml:"routers" validate:"required"`
}
Config is a general top-level Glide configuration
func DefaultConfig ¶
func DefaultConfig() *Config
type Expander ¶
type Expander struct{}
Expander finds special directives like ${env:ENV_VAR} in the config file and fill them with actual values
type Provider ¶
type Provider struct {
Config *Config
// contains filtered or unexported fields
}
Provider reads, collects, validates and process config files
func (*Provider) LoadDotEnv ¶
Click to show internal directories.
Click to hide internal directories.