config

package
v0.0.0-...-e1c34d2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Init()
	GetString(key string) string
	GetInt(key string) int
	GetBool(key string) bool
}

Config define config contract

func NewViperConfig

func NewViperConfig() Config

NewViperConfig return new viper config instance

Jump to

Keyboard shortcuts

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