package
1.2.0-rc1
Repository: https://github.com/mc-aeq/aeqw.git
Documentation: pkg.go.dev

# Functions

FileExists reports whether the named file or directory exists.
NewAddressFlag creates an AddressFlag with a default dcrutil.Address.
NewAmountFlag creates an AmountFlag with a default dcrutil.Amount.
NewCurveFlag creates a CurveFlag with a default curve.
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.

# Constants

Recognized curve IDs.
Recognized curve IDs.
Recognized curve IDs.
Recognized curve IDs.

# Structs

AddressFlag embeds a dcrutil.Address and implements the flags.Marshaler and Unmarshaler interfaces so it can be used as a config struct field.
AmountFlag embeds a dcrutil.Amount and implements the flags.Marshaler and Unmarshaler interfaces so it can be used as a config struct field.
CurveFlag describes a curve 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.

# Type aliases

CurveID specifies a recognized curve through a constant value.