mapstructureutil

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 AtxVersionsDecodeFunc added in v1.6.0

func AtxVersionsDecodeFunc() mapstructure.DecodeHookFunc

AtxVersionsDecodeFunc mapstructure decode func for activation.AtxVersions.

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