Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressValue ¶
func (*AddressValue) Set ¶
func (v *AddressValue) Set(value string) error
func (*AddressValue) String ¶
func (v *AddressValue) String() string
type ChoiceValue ¶
type ChoiceValue struct { Choices []string // the choices that this value can take Value *string // the actual value }
func (*ChoiceValue) Set ¶
func (v *ChoiceValue) Set(value string) error
func (*ChoiceValue) String ¶
func (v *ChoiceValue) String() string
type GenericFlagMultiValue ¶ added in v0.4.0
type GenericFlagMultiValue struct { *cli.GenericFlag // contains filtered or unexported fields }
func NewGenericFlagMultiValue ¶ added in v0.4.0
func NewGenericFlagMultiValue(fl *cli.GenericFlag) *GenericFlagMultiValue
func (*GenericFlagMultiValue) Apply ¶ added in v0.4.0
func (f *GenericFlagMultiValue) Apply(set *flag.FlagSet) error
func (*GenericFlagMultiValue) ApplyInputSourceValue ¶ added in v0.4.0
func (f *GenericFlagMultiValue) ApplyInputSourceValue(cCtx *cli.Context, isc altsrc.InputSourceContext) error
type GenericFlagSingleValue ¶ added in v0.4.0
type GenericFlagSingleValue struct { *cli.GenericFlag // contains filtered or unexported fields }
func NewGenericFlagSingleValue ¶ added in v0.4.0
func NewGenericFlagSingleValue(fl *cli.GenericFlag) *GenericFlagSingleValue
func (*GenericFlagSingleValue) Apply ¶ added in v0.4.0
func (f *GenericFlagSingleValue) Apply(set *flag.FlagSet) error
func (*GenericFlagSingleValue) ApplyInputSourceValue ¶ added in v0.4.0
func (f *GenericFlagSingleValue) ApplyInputSourceValue(cCtx *cli.Context, isc altsrc.InputSourceContext) error
type MultiaddrSlice ¶
type MultiaddrSlice struct {
Values *[]multiaddr.Multiaddr
}
func (*MultiaddrSlice) Set ¶
func (k *MultiaddrSlice) Set(value string) error
func (*MultiaddrSlice) String ¶
func (v *MultiaddrSlice) String() string
type MultiaddrValue ¶
type MultiaddrValue struct {
Value **multiaddr.Multiaddr
}
func (*MultiaddrValue) Set ¶
func (v *MultiaddrValue) Set(value string) error
func (*MultiaddrValue) String ¶
func (v *MultiaddrValue) String() string
type PrivateKeyValue ¶
type PrivateKeyValue struct {
Value **ecdsa.PrivateKey
}
func (*PrivateKeyValue) Set ¶
func (v *PrivateKeyValue) Set(value string) error
func (*PrivateKeyValue) String ¶
func (v *PrivateKeyValue) String() string
Click to show internal directories.
Click to hide internal directories.