fabric: github.com/hyperledger/fabric/common/viperutil Index | Files

package viperutil

import "github.com/hyperledger/fabric/common/viperutil"


Package Files


func Decode Uses

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

Decode is used to decode opaque field in configuration

func EnhancedExactUnmarshal Uses

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 Uses

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

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

Package viperutil imports 16 packages (graph) and is imported by 17 packages. Updated 2019-03-21. Refresh now. Tools for package owners.