wallet

package
v0.0.0-...-30b4a77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2016 License: BSD-3-Clause Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL