viperutil

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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