config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyConfig = errors.NewDefault(errors.ErrEmptyConfig, "Config not initialized")
)

Functions

func ErrInMem

func ErrInMem(err error) error

func ErrViper

func ErrViper(err error) error

Types

type Handler

type Handler interface {
	SetKey(key string, value string)

	GetKey(key string) string

	GetObject(key string, result interface{}) error
}

Directories

Path Synopsis
This file needs a better name
This file needs a better name

Jump to

Keyboard shortcuts

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