worker

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	mock.Mock
}

Helper is an autogenerated mock type for the Helper type

func NewHelper added in v0.7.11

func NewHelper(t mockConstructorTestingTNewHelper) *Helper

NewHelper creates a new instance of Helper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Helper) AllAccounts added in v0.4.1

func (_m *Helper) AllAccounts(_a0 context.Context, _a1 database.Transaction) ([]*types.AccountIdentifier, error)

AllAccounts provides a mock function with given fields: _a0, _a1

func (*Helper) Balance

Balance provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) Coins

Coins provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) Derive

func (_m *Helper) Derive(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 *types.PublicKey, _a3 map[string]interface{}) (*types.AccountIdentifier, map[string]interface{}, error)

Derive provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) GetBlob added in v0.6.6

func (_m *Helper) GetBlob(ctx context.Context, dbTx database.Transaction, key string) (bool, []byte, error)

GetBlob provides a mock function with given fields: ctx, dbTx, key

func (*Helper) LockedAccounts added in v0.4.1

func (_m *Helper) LockedAccounts(_a0 context.Context, _a1 database.Transaction) ([]*types.AccountIdentifier, error)

LockedAccounts provides a mock function with given fields: _a0, _a1

func (*Helper) SetBlob added in v0.6.6

func (_m *Helper) SetBlob(ctx context.Context, dbTx database.Transaction, key string, value []byte) error

SetBlob provides a mock function with given fields: ctx, dbTx, key, value

func (*Helper) StoreKey

func (_m *Helper) StoreKey(_a0 context.Context, _a1 database.Transaction, _a2 *types.AccountIdentifier, _a3 *keys.KeyPair) error

StoreKey provides a mock function with given fields: _a0, _a1, _a2, _a3

Jump to

Keyboard shortcuts

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