config

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, configuration map[string]interface{})

func Env

func Env(envName string, defaultValue ...interface{}) interface{}

func Get

func Get(path string, defaultValue ...interface{}) interface{}

func GetBool

func GetBool(path string, defaultValue ...interface{}) bool

func GetInt

func GetInt(path string, defaultValue ...interface{}) int

func GetInt64

func GetInt64(path string, defaultValue ...interface{}) int64

func GetInterface

func GetInterface(path string, defaultValue ...interface{}) (value interface{})

func GetString

func GetString(path string, defaultValue ...interface{}) string

func GetUint

func GetUint(path string, defaultValue ...interface{}) uint

Types

This section is empty.

Jump to

Keyboard shortcuts

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