package
0.0.23
Repository: https://github.com/cybriq/p9.git
Documentation: pkg.go.dev

# Functions

FileExists reports whether the named file or directory exists.
NewAmountFlag creates an AmountFlag with a default util.Amount.
NewExplicitString creates a string flag with the provided default value.
NormalizeAddress returns the normalized form of the address, adding a default port if necessary.
NormalizeAddresses returns a new slice with all the passed peer addresses normalized with the given default port, and all duplicates removed.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AmountFlag embeds a util.Amount and implements the flags.Marshaler and Unmarshaler interfaces so it can be used as a config struct field.
ExplicitString is a string value implementing the flags.Marshaler and flags.Unmarshaler interfaces so it may be used as a config struct field.