config

package
v0.0.0-...-a4db070 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(cfgObj interface{}) error

Types

type Configuration

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

func (Configuration) Extract

func (c Configuration) Extract(v interface{}) error

func (*Configuration) Load

func (c *Configuration) Load(tmplFile string, cfgObj interface{}) error

func (Configuration) LoadEnvVars

func (c Configuration) LoadEnvVars() error

func (*Configuration) LoadTemplate

func (c *Configuration) LoadTemplate(filename string) error

Jump to

Keyboard shortcuts

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