configs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0, 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 Config

type Config struct {
	*viper.Viper
}

func (*Config) GetBool

func (v *Config) GetBool(defvalue bool, keys ...string) (value bool)

func (*Config) GetInt

func (v *Config) GetInt(defvalue int, keys ...string) (value int)

func (*Config) GetString

func (v *Config) GetString(defvalue string, keys ...string) (value string)

Jump to

Keyboard shortcuts

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