accountview

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 6 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 {
	Name     string
	Address  string
	Mnemonic string
}

func NewAccount

func NewAccount(name, address string, options ...Option) Account

func (Account) String

func (a Account) String() string

type Accounts

type Accounts []Account

func (Accounts) Append added in v0.26.0

func (a Accounts) Append(acc Account) Accounts

func (Accounts) String

func (a Accounts) String() string

type Option

type Option func(*Account)

func WithMnemonic

func WithMnemonic(mnemonic string) Option

Jump to

Keyboard shortcuts

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