Versions in this module Expand all Collapse all v1 v1.4.2 Sep 9, 2019 v1.4.1 Aug 12, 2019 Changes in this version + func FileExists(filePath string) (bool, error) + func NormalizeAddress(addr string, defaultPort string) (hostport string, err error) + func NormalizeAddresses(addrs []string, defaultPort string) ([]string, error) + type AddressFlag struct + Address dcrutil.Address + func NewAddressFlag(defaultValue dcrutil.Address) *AddressFlag + func (a *AddressFlag) MarshalFlag() (string, error) + func (a *AddressFlag) UnmarshalFlag(addr string) error + type AmountFlag struct + func NewAmountFlag(defaultValue dcrutil.Amount) *AmountFlag + func (a *AmountFlag) MarshalFlag() (string, error) + func (a *AmountFlag) UnmarshalFlag(value string) error + type CurveFlag struct + func NewCurveFlag(defaultValue CurveID) *CurveFlag + func (f *CurveFlag) Curve() elliptic.Curve + func (f *CurveFlag) MarshalFlag() (name string, err error) + func (f *CurveFlag) UnmarshalFlag(value string) error + type CurveID int + const CurveP224 + const CurveP256 + const CurveP384 + const CurveP521 + type ExplicitString struct + Value string + func NewExplicitString(defaultValue string) *ExplicitString + func (e *ExplicitString) ExplicitlySet() bool + func (e *ExplicitString) MarshalFlag() (string, error) + func (e *ExplicitString) String() string + func (e *ExplicitString) UnmarshalFlag(value string) error