Documentation ¶
Overview ¶
Package wallet defines wallet utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetToken ¶
func GetToken( walletClient *client.Client, usage string, owner *[ed25519.PublicKeySize]byte, ) (*client.TokenEntry, error)
GetToken returns a token for the given usage and owner from walletClient. It automatically retries if it gets a client.ErrRetry error. The maximum retrial duration is defined by def.WalletGetTokenMaxDuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.