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.
Click to show internal directories.
Click to hide internal directories.