handler

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	// contains filtered or unexported fields
}

Account contains handler functions of the CLI commands related to wallet account.

func New

func New(printer printer.Printer) *Account

New is the constructor of Account handler.

func (*Account) Create

func (h *Account) Create(cmd *cobra.Command, args []string) error

Create creates a new wallet account and prints the storage.

func (*Account) DepositData

func (h *Account) DepositData(cmd *cobra.Command, _ []string) error

DepositData generates account deposit-data and prints it.

func (*Account) List

func (h *Account) List(cmd *cobra.Command, _ []string) error

List lists wallet accounts and prints the accounts.

Jump to

Keyboard shortcuts

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