config

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env map[string]string

func (Env) Set

func (e Env) Set()

func (Env) Unset

func (e Env) Unset()

type Option added in v0.1.1

type Option interface {
	Apply(*Options)
}

Option provides options when collecting configuration information.

func WithPrefix added in v0.1.1

func WithPrefix(prefix string) Option

WithPrefix adds a prefix to the name of the enviroment variables being referenced.

type Options added in v0.1.1

type Options struct {
	// contains filtered or unexported fields
}

func (*Options) Prefix added in v0.1.1

func (o *Options) Prefix() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL