Documentation ¶
Index ¶
Constants ¶
View Source
const (
EnvPrefix = "OUTBLOCKS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func NewEnvironment ¶
func NewEnvironment(v *viper.Viper) *Environment
func (*Environment) AddVar ¶
func (e *Environment) AddVar(key, description string)
func (*Environment) AddVarWithDefault ¶
func (e *Environment) AddVarWithDefault(key, description, def string)
func (*Environment) BindCLIFlag ¶
func (e *Environment) BindCLIFlag(key string, f *pflag.Flag)
func (*Environment) Info ¶
func (e *Environment) Info() [][]string
Click to show internal directories.
Click to hide internal directories.