Documentation ¶
Index ¶
Constants ¶
View Source
const ( TTL = "ttl" TTLShorthand = "" TTLDefault = 2 TTLUsage = "TTL value in request meta header" XHeadersKey = "xhdr" XHeadersShorthand = "x" XHeadersUsage = "Request X-Headers in form of Key=Value" )
View Source
const ( GenerateKey = "generate-key" WalletPath = "wallet" WalletPathShorthand = "w" WalletPathDefault = "" WalletPathUsage = "WIF (NEP-2) string or path to the wallet or binary key" Account = "address" AccountShorthand = "" AccountDefault = "" AccountUsage = "address of wallet account" RPC = "rpc-endpoint" RPCShorthand = "r" RPCDefault = "" RPCUsage = "remote node address (as 'multiaddr' or '<host>:<port>')" Verbose = "verbose" VerboseShorthand = "v" VerboseUsage = "verbose output" )
Common CLI flag keys, shorthands, default values and their usage descriptions.
View Source
const JSON = "json"
View Source
const SessionToken = "session"
Variables ¶
This section is empty.
Functions ¶
func InitSession ¶ added in v0.28.3
InitSession initializes session parameter for cmd.
func InitWithoutRPC ¶
InitWithoutRPC is similar to Init but doesn't create the RPC flag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.