accountview

package
v28.4.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 4 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

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