envconfig

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultProviderName = "envconfig"

Variables

This section is empty.

Functions

func Registrate

func Registrate(ctx context.Context) (context.Context, error)

func RegistrateAndParse

func RegistrateAndParse(ctx context.Context, cfg interface{}) (context.Context, error)

Types

type Provider

type Provider struct{}

Provider is a control structure that provides envconfig functionality to gowork.

func NewProvider

func NewProvider() *Provider

func (*Provider) Parse

func (ec *Provider) Parse(structure interface{}) error

Parse executes parsing sequence.

Jump to

Keyboard shortcuts

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