Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fixed8FromContext ¶
func Fixed8FromContext(ctx *cli.Context, name string) fixedn.Fixed8
Fixed8FromContext returns parsed util.Fixed8 value provided flag name.
Types ¶
type Address ¶
type Address struct {
IsSet bool
Value util.Uint160
}
Address is a wrapper for Uint160 with flag.Value methods.
type AddressFlag ¶
type AddressFlag struct {
Name string
Usage string
Value Address
}
AddressFlag is a flag with type string
func (AddressFlag) Apply ¶
func (f AddressFlag) Apply(set *flag.FlagSet)
Apply populates the flag given the flag set and environment Ignores errors
func (AddressFlag) GetName ¶
func (f AddressFlag) GetName() string
GetName returns the name of the flag
type Fixed8 ¶
type Fixed8 struct {
Value fixedn.Fixed8
}
Fixed8 is a wrapper for Uint160 with flag.Value methods.
type Fixed8Flag ¶
type Fixed8Flag struct {
Name string
Usage string
Value Fixed8
}
Fixed8Flag is a flag with type string.
func (Fixed8Flag) Apply ¶
func (f Fixed8Flag) Apply(set *flag.FlagSet)
Apply populates the flag given the flag set and environment Ignores errors.
Click to show internal directories.
Click to hide internal directories.