viperutil

package
v1.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode added in v1.4.0

func Decode(input interface{}, output interface{}) error

Decode is used to decode opaque field in configuration

func EnhancedExactUnmarshal

func EnhancedExactUnmarshal(v *viper.Viper, output interface{}) error

EnhancedExactUnmarshal is intended to unmarshal a config file into a structure producing error when extraneous variables are introduced and supporting the time.Duration type

func EnhancedExactUnmarshalKey

func EnhancedExactUnmarshalKey(baseKey string, output interface{}) error

EnhancedExactUnmarshalKey is intended to unmarshal a config file subtreee into a structure

Types

This section is empty.

Jump to

Keyboard shortcuts

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