worker

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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 (*Helper) AllAccounts

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

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

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

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