Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Specification ¶
type Specification struct {
Log log.Logger
Port int `env:"PORT,optional"`
Storage storage.WidgetStorage
}
Specification details the expected values for the config
func NewValues ¶
func NewValues(envVars map[string]string) *Specification
NewValues returns a Specification based on the env var map passed in
Click to show internal directories.
Click to hide internal directories.