fetcher

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	FetchWallet(ctx context.Context, path string) (types.Wallet, error)
	FetchAccount(ctx context.Context, path string) (types.Wallet, types.Account, error)
	FetchAccountByKey(ctx context.Context, pubKey []byte) (types.Wallet, types.Account, error)
	FetchAccounts(ctx context.Context, path string) (map[string]types.Account, error)
	AddAccount(ctx context.Context, wallet types.Wallet, account types.Account) error
}

Service is the interface for a wallet and account fetching service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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