package
1.21.0-rc1
Repository: https://github.com/hashicorp/consul.git
Documentation: pkg.go.dev

# Functions

BoolToBoolValueFunc is a mapstructure hook that looks for an incoming bool mapped to a BoolValue and does the translation.
Float64ToUintValueFunc is a mapstructure hook that looks for an incoming float64 mapped to a UintValue and does the translation.
No description provided by the author
StringToDurationValueFunc is a mapstructure hook that looks for an incoming string mapped to a DurationValue and does the translation.
StringToStringValueFunc is a mapstructure hook that looks for an incoming string mapped to a StringValue and does the translation.
No description provided by the author
Visit will call the visitor function on the path if it's a file, or for each file in the path if it's a directory.

# Variables

ConfigDecodeHook should be passed to mapstructure in order to decode into the *Value objects here.

# Structs

BoolValue provides a flag value that's aware if it has been set.
DurationValue provides a flag value that's aware if it has been set.
No description provided by the author
StringValue provides a flag value that's aware if it has been set.
UintValue provides a flag value that's aware if it has been set.
No description provided by the author

# Type aliases

AppendSliceValue implements the flag.Value interface and allows multiple calls to the same variable to append a list.
FlagMapValue is a flag implementation used to provide key=value semantics multiple times.
VisitFn is a callback that gets a chance to visit each file found during a traversal with visit().