conf

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigEnv added in v0.0.3

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

func New

func New(configFile string, configModule interface{}) *ConfigEnv

func (*ConfigEnv) GetCurrentConfig added in v0.0.3

func (conf *ConfigEnv) GetCurrentConfig() (interface{}, error)

func (*ConfigEnv) Load added in v0.0.3

func (conf *ConfigEnv) Load() (interface{}, error)

func (*ConfigEnv) Refresh added in v0.0.3

func (conf *ConfigEnv) Refresh() error

func (*ConfigEnv) Save added in v0.0.3

func (conf *ConfigEnv) Save() error

Jump to

Keyboard shortcuts

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