Documentation ¶
Index ¶
- Variables
- type Account
- func (a *Account) ID() uuid.UUID
- func (a *Account) IsUnlocked(_ context.Context) (bool, error)
- func (a *Account) Lock(_ context.Context) error
- func (a *Account) Name() string
- func (a *Account) Path() string
- func (a *Account) PublicKey() e2types.PublicKey
- func (a *Account) Sign(ctx context.Context, data []byte) (e2types.Signature, error)
- func (a *Account) Unlock(_ context.Context, passphrase []byte) error
- type Wallet
Constants ¶
This section is empty.
Variables ¶
View Source
var Processes map[uint64]process.Service
Processes is a map of local process services.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Account is a mock account.
func NewAccount ¶
NewAccount creates a new account.
func (*Account) IsUnlocked ¶
IsUnlocked returns true if the account is unlocked.
func (*Account) Path ¶
Path provides the path for the account. Can be empty if the account is not derived from a path.
Click to show internal directories.
Click to hide internal directories.