mapstructureutil

package
v1.5.0-alpha.4-nomain Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressListDecodeFunc added in v1.3.0

func AddressListDecodeFunc() mapstructure.DecodeHookFunc

AddressListDecodeFunc mapstructure decode func for p2p.AddressList. AddressList can be represented either by a string or by a slice of strings.

func BigRatDecodeFunc

func BigRatDecodeFunc() mapstructure.DecodeHookFunc

BigRatDecodeFunc mapstructure decode func for big.Rat.

func DeprecatedHook added in v1.4.0

func DeprecatedHook() mapstructure.DecodeHookFunc

func PostProviderIDDecodeFunc added in v1.1.0

func PostProviderIDDecodeFunc() mapstructure.DecodeHookFunc

PostProviderIDDecodeFunc mapstructure decode func for activation.PostProviderID.

Types

type Deprecated added in v1.4.0

type Deprecated interface {
	DeprecatedMsg() string
}

Deprecated is an interface for deprecated config fields. A deprecated config field should implement this interface (with a value receiver) and return a message explaining the deprecation.

Jump to

Keyboard shortcuts

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