mock

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAssetService

type MockAssetService struct {
	// contains filtered or unexported fields
}

MockAssetService is a mock of AssetService interface

func NewMockAssetService

func NewMockAssetService(ctrl *gomock.Controller) *MockAssetService

NewMockAssetService creates a new mock instance

func (*MockAssetService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAssetService) Find

func (m *MockAssetService) Find(arg0 context.Context, arg1 string) (*core.Asset, error)

Find mocks base method

func (*MockAssetService) List added in v1.2.9

func (m *MockAssetService) List(arg0 context.Context) ([]*core.Asset, error)

List mocks base method

type MockAssetServiceMockRecorder

type MockAssetServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockAssetServiceMockRecorder is the mock recorder for MockAssetService

func (*MockAssetServiceMockRecorder) Find

func (mr *MockAssetServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockAssetServiceMockRecorder) List added in v1.2.9

func (mr *MockAssetServiceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

type MockAssetStore

type MockAssetStore struct {
	// contains filtered or unexported fields
}

MockAssetStore is a mock of AssetStore interface

func NewMockAssetStore

func NewMockAssetStore(ctrl *gomock.Controller) *MockAssetStore

NewMockAssetStore creates a new mock instance

func (*MockAssetStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAssetStore) Find

func (m *MockAssetStore) Find(arg0 context.Context, arg1 string) (*core.Asset, error)

Find mocks base method

func (*MockAssetStore) List

func (m *MockAssetStore) List(arg0 context.Context) ([]*core.Asset, error)

List mocks base method

func (*MockAssetStore) Save added in v1.2.9

func (m *MockAssetStore) Save(arg0 context.Context, arg1 *core.Asset) error

Save mocks base method

type MockAssetStoreMockRecorder

type MockAssetStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockAssetStoreMockRecorder is the mock recorder for MockAssetStore

func (*MockAssetStoreMockRecorder) Find

func (mr *MockAssetStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockAssetStoreMockRecorder) List

func (mr *MockAssetStoreMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockAssetStoreMockRecorder) Save added in v1.2.9

func (mr *MockAssetStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockCollateralStore

type MockCollateralStore struct {
	// contains filtered or unexported fields
}

MockCollateralStore is a mock of CollateralStore interface

func NewMockCollateralStore

func NewMockCollateralStore(ctrl *gomock.Controller) *MockCollateralStore

NewMockCollateralStore creates a new mock instance

func (*MockCollateralStore) Create

func (m *MockCollateralStore) Create(arg0 context.Context, arg1 *core.Collateral) error

Create mocks base method

func (*MockCollateralStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCollateralStore) Find

func (m *MockCollateralStore) Find(arg0 context.Context, arg1 string) (*core.Collateral, error)

Find mocks base method

func (*MockCollateralStore) List

List mocks base method

func (*MockCollateralStore) Update

func (m *MockCollateralStore) Update(arg0 context.Context, arg1 *core.Collateral, arg2 int64) error

Update mocks base method

type MockCollateralStoreMockRecorder

type MockCollateralStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockCollateralStoreMockRecorder is the mock recorder for MockCollateralStore

func (*MockCollateralStoreMockRecorder) Create

func (mr *MockCollateralStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockCollateralStoreMockRecorder) Find

func (mr *MockCollateralStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockCollateralStoreMockRecorder) List

func (mr *MockCollateralStoreMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockCollateralStoreMockRecorder) Update

func (mr *MockCollateralStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockFlipStore

type MockFlipStore struct {
	// contains filtered or unexported fields
}

MockFlipStore is a mock of FlipStore interface

func NewMockFlipStore

func NewMockFlipStore(ctrl *gomock.Controller) *MockFlipStore

NewMockFlipStore creates a new mock instance

func (*MockFlipStore) Create

func (m *MockFlipStore) Create(arg0 context.Context, arg1 *core.Flip) error

Create mocks base method

func (*MockFlipStore) CreateEvent

func (m *MockFlipStore) CreateEvent(arg0 context.Context, arg1 *core.FlipEvent) error

CreateEvent mocks base method

func (*MockFlipStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFlipStore) Find

func (m *MockFlipStore) Find(arg0 context.Context, arg1 string) (*core.Flip, error)

Find mocks base method

func (*MockFlipStore) FindEvent

func (m *MockFlipStore) FindEvent(arg0 context.Context, arg1 string, arg2 int64) (*core.FlipEvent, error)

FindEvent mocks base method

func (*MockFlipStore) List

func (m *MockFlipStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Flip, error)

List mocks base method

func (*MockFlipStore) ListEvents

func (m *MockFlipStore) ListEvents(arg0 context.Context, arg1 string) ([]*core.FlipEvent, error)

ListEvents mocks base method

func (*MockFlipStore) Update

func (m *MockFlipStore) Update(arg0 context.Context, arg1 *core.Flip, arg2 int64) error

Update mocks base method

type MockFlipStoreMockRecorder

type MockFlipStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockFlipStoreMockRecorder is the mock recorder for MockFlipStore

func (*MockFlipStoreMockRecorder) Create

func (mr *MockFlipStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFlipStoreMockRecorder) CreateEvent

func (mr *MockFlipStoreMockRecorder) CreateEvent(arg0, arg1 interface{}) *gomock.Call

CreateEvent indicates an expected call of CreateEvent

func (*MockFlipStoreMockRecorder) Find

func (mr *MockFlipStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockFlipStoreMockRecorder) FindEvent

func (mr *MockFlipStoreMockRecorder) FindEvent(arg0, arg1, arg2 interface{}) *gomock.Call

FindEvent indicates an expected call of FindEvent

func (*MockFlipStoreMockRecorder) List

func (mr *MockFlipStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockFlipStoreMockRecorder) ListEvents

func (mr *MockFlipStoreMockRecorder) ListEvents(arg0, arg1 interface{}) *gomock.Call

ListEvents indicates an expected call of ListEvents

func (*MockFlipStoreMockRecorder) Update

func (mr *MockFlipStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockMessageService

type MockMessageService struct {
	// contains filtered or unexported fields
}

MockMessageService is a mock of MessageService interface

func NewMockMessageService

func NewMockMessageService(ctrl *gomock.Controller) *MockMessageService

NewMockMessageService creates a new mock instance

func (*MockMessageService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMessageService) Meet

func (m *MockMessageService) Meet(arg0 context.Context, arg1 string) error

Meet mocks base method

func (*MockMessageService) Send

func (m *MockMessageService) Send(arg0 context.Context, arg1 []*core.Message) error

Send mocks base method

type MockMessageServiceMockRecorder

type MockMessageServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockMessageServiceMockRecorder is the mock recorder for MockMessageService

func (*MockMessageServiceMockRecorder) Meet

func (mr *MockMessageServiceMockRecorder) Meet(arg0, arg1 interface{}) *gomock.Call

Meet indicates an expected call of Meet

func (*MockMessageServiceMockRecorder) Send

func (mr *MockMessageServiceMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call

Send indicates an expected call of Send

type MockMessageStore

type MockMessageStore struct {
	// contains filtered or unexported fields
}

MockMessageStore is a mock of MessageStore interface

func NewMockMessageStore

func NewMockMessageStore(ctrl *gomock.Controller) *MockMessageStore

NewMockMessageStore creates a new mock instance

func (*MockMessageStore) Create

func (m *MockMessageStore) Create(arg0 context.Context, arg1 []*core.Message) error

Create mocks base method

func (*MockMessageStore) Delete

func (m *MockMessageStore) Delete(arg0 context.Context, arg1 []*core.Message) error

Delete mocks base method

func (*MockMessageStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMessageStore) List

func (m *MockMessageStore) List(arg0 context.Context, arg1 int) ([]*core.Message, error)

List mocks base method

type MockMessageStoreMockRecorder

type MockMessageStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockMessageStoreMockRecorder is the mock recorder for MockMessageStore

func (*MockMessageStoreMockRecorder) Create

func (mr *MockMessageStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockMessageStoreMockRecorder) Delete

func (mr *MockMessageStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockMessageStoreMockRecorder) List

func (mr *MockMessageStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

type MockNotifier

type MockNotifier struct {
	// contains filtered or unexported fields
}

MockNotifier is a mock of Notifier interface

func NewMockNotifier

func NewMockNotifier(ctrl *gomock.Controller) *MockNotifier

NewMockNotifier creates a new mock instance

func (*MockNotifier) Auth

func (m *MockNotifier) Auth(arg0 context.Context, arg1 *core.User) error

Auth mocks base method

func (*MockNotifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockNotifier) Snapshot

func (m *MockNotifier) Snapshot(arg0 context.Context, arg1 *core.Transfer, arg2 string) error

Snapshot mocks base method

func (*MockNotifier) Transaction

func (m *MockNotifier) Transaction(arg0 context.Context, arg1 *core.Transaction) error

Transaction mocks base method

func (*MockNotifier) VaultUnsafe added in v1.3.0

func (m *MockNotifier) VaultUnsafe(arg0 context.Context, arg1 *core.Collateral, arg2 *core.Vault) error

VaultUnsafe mocks base method

type MockNotifierMockRecorder

type MockNotifierMockRecorder struct {
	// contains filtered or unexported fields
}

MockNotifierMockRecorder is the mock recorder for MockNotifier

func (*MockNotifierMockRecorder) Auth

func (mr *MockNotifierMockRecorder) Auth(arg0, arg1 interface{}) *gomock.Call

Auth indicates an expected call of Auth

func (*MockNotifierMockRecorder) Snapshot

func (mr *MockNotifierMockRecorder) Snapshot(arg0, arg1, arg2 interface{}) *gomock.Call

Snapshot indicates an expected call of Snapshot

func (*MockNotifierMockRecorder) Transaction

func (mr *MockNotifierMockRecorder) Transaction(arg0, arg1 interface{}) *gomock.Call

Transaction indicates an expected call of Transaction

func (*MockNotifierMockRecorder) VaultUnsafe added in v1.3.0

func (mr *MockNotifierMockRecorder) VaultUnsafe(arg0, arg1, arg2 interface{}) *gomock.Call

VaultUnsafe indicates an expected call of VaultUnsafe

type MockOracleService

type MockOracleService struct {
	// contains filtered or unexported fields
}

MockOracleService is a mock of OracleService interface

func NewMockOracleService

func NewMockOracleService(ctrl *gomock.Controller) *MockOracleService

NewMockOracleService creates a new mock instance

func (*MockOracleService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOracleService) Parse

func (m *MockOracleService) Parse(arg0 []byte) ([]byte, error)

Parse mocks base method

type MockOracleServiceMockRecorder

type MockOracleServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockOracleServiceMockRecorder is the mock recorder for MockOracleService

func (*MockOracleServiceMockRecorder) Parse

func (mr *MockOracleServiceMockRecorder) Parse(arg0 interface{}) *gomock.Call

Parse indicates an expected call of Parse

type MockOracleStore

type MockOracleStore struct {
	// contains filtered or unexported fields
}

MockOracleStore is a mock of OracleStore interface

func NewMockOracleStore

func NewMockOracleStore(ctrl *gomock.Controller) *MockOracleStore

NewMockOracleStore creates a new mock instance

func (*MockOracleStore) Create added in v1.2.9

func (m *MockOracleStore) Create(arg0 context.Context, arg1 *core.Oracle) error

Create mocks base method

func (*MockOracleStore) Deny added in v1.2.9

func (m *MockOracleStore) Deny(arg0 context.Context, arg1 string) error

Deny mocks base method

func (*MockOracleStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOracleStore) Find

func (m *MockOracleStore) Find(arg0 context.Context, arg1 string) (*core.Oracle, error)

Find mocks base method

func (*MockOracleStore) List

func (m *MockOracleStore) List(arg0 context.Context) ([]*core.Oracle, error)

List mocks base method

func (*MockOracleStore) ListCurrent

func (m *MockOracleStore) ListCurrent(arg0 context.Context) (number.Values, error)

ListCurrent mocks base method

func (*MockOracleStore) ListFeeds added in v1.2.9

func (m *MockOracleStore) ListFeeds(arg0 context.Context) ([]*core.OracleFeed, error)

ListFeeds mocks base method

func (*MockOracleStore) Rely added in v1.2.9

func (m *MockOracleStore) Rely(arg0 context.Context, arg1, arg2 string) error

Rely mocks base method

func (*MockOracleStore) Update added in v1.2.9

func (m *MockOracleStore) Update(arg0 context.Context, arg1 *core.Oracle, arg2 int64) error

Update mocks base method

type MockOracleStoreMockRecorder

type MockOracleStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockOracleStoreMockRecorder is the mock recorder for MockOracleStore

func (*MockOracleStoreMockRecorder) Create added in v1.2.9

func (mr *MockOracleStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockOracleStoreMockRecorder) Deny added in v1.2.9

func (mr *MockOracleStoreMockRecorder) Deny(arg0, arg1 interface{}) *gomock.Call

Deny indicates an expected call of Deny

func (*MockOracleStoreMockRecorder) Find

func (mr *MockOracleStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockOracleStoreMockRecorder) List

func (mr *MockOracleStoreMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockOracleStoreMockRecorder) ListCurrent

func (mr *MockOracleStoreMockRecorder) ListCurrent(arg0 interface{}) *gomock.Call

ListCurrent indicates an expected call of ListCurrent

func (*MockOracleStoreMockRecorder) ListFeeds added in v1.2.9

func (mr *MockOracleStoreMockRecorder) ListFeeds(arg0 interface{}) *gomock.Call

ListFeeds indicates an expected call of ListFeeds

func (*MockOracleStoreMockRecorder) Rely added in v1.2.9

func (mr *MockOracleStoreMockRecorder) Rely(arg0, arg1, arg2 interface{}) *gomock.Call

Rely indicates an expected call of Rely

func (*MockOracleStoreMockRecorder) Update added in v1.2.9

func (mr *MockOracleStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockParliament

type MockParliament struct {
	// contains filtered or unexported fields
}

MockParliament is a mock of Parliament interface

func NewMockParliament

func NewMockParliament(ctrl *gomock.Controller) *MockParliament

NewMockParliament creates a new mock instance

func (*MockParliament) Approved

func (m *MockParliament) Approved(arg0 context.Context, arg1 *core.Proposal) error

Approved mocks base method

func (*MockParliament) Created

func (m *MockParliament) Created(arg0 context.Context, arg1 *core.Proposal) error

Created mocks base method

func (*MockParliament) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockParliament) Passed

func (m *MockParliament) Passed(arg0 context.Context, arg1 *core.Proposal) error

Passed mocks base method

type MockParliamentMockRecorder

type MockParliamentMockRecorder struct {
	// contains filtered or unexported fields
}

MockParliamentMockRecorder is the mock recorder for MockParliament

func (*MockParliamentMockRecorder) Approved

func (mr *MockParliamentMockRecorder) Approved(arg0, arg1 interface{}) *gomock.Call

Approved indicates an expected call of Approved

func (*MockParliamentMockRecorder) Created

func (mr *MockParliamentMockRecorder) Created(arg0, arg1 interface{}) *gomock.Call

Created indicates an expected call of Created

func (*MockParliamentMockRecorder) Passed

func (mr *MockParliamentMockRecorder) Passed(arg0, arg1 interface{}) *gomock.Call

Passed indicates an expected call of Passed

type MockProposalStore

type MockProposalStore struct {
	// contains filtered or unexported fields
}

MockProposalStore is a mock of ProposalStore interface

func NewMockProposalStore

func NewMockProposalStore(ctrl *gomock.Controller) *MockProposalStore

NewMockProposalStore creates a new mock instance

func (*MockProposalStore) Create

func (m *MockProposalStore) Create(arg0 context.Context, arg1 *core.Proposal) error

Create mocks base method

func (*MockProposalStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProposalStore) Find

func (m *MockProposalStore) Find(arg0 context.Context, arg1 string) (*core.Proposal, error)

Find mocks base method

func (*MockProposalStore) List

func (m *MockProposalStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Proposal, error)

List mocks base method

func (*MockProposalStore) Update

func (m *MockProposalStore) Update(arg0 context.Context, arg1 *core.Proposal, arg2 int64) error

Update mocks base method

type MockProposalStoreMockRecorder

type MockProposalStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockProposalStoreMockRecorder is the mock recorder for MockProposalStore

func (*MockProposalStoreMockRecorder) Create

func (mr *MockProposalStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockProposalStoreMockRecorder) Find

func (mr *MockProposalStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockProposalStoreMockRecorder) List

func (mr *MockProposalStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockProposalStoreMockRecorder) Update

func (mr *MockProposalStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockSession

type MockSession struct {
	// contains filtered or unexported fields
}

MockSession is a mock of Session interface

func NewMockSession

func NewMockSession(ctrl *gomock.Controller) *MockSession

NewMockSession creates a new mock instance

func (*MockSession) EXPECT

func (m *MockSession) EXPECT() *MockSessionMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSession) Login

func (m *MockSession) Login(arg0 *http.Request) (*core.User, error)

Login mocks base method

type MockSessionMockRecorder

type MockSessionMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionMockRecorder is the mock recorder for MockSession

func (*MockSessionMockRecorder) Login

func (mr *MockSessionMockRecorder) Login(arg0 interface{}) *gomock.Call

Login indicates an expected call of Login

type MockTransactionStore

type MockTransactionStore struct {
	// contains filtered or unexported fields
}

MockTransactionStore is a mock of TransactionStore interface

func NewMockTransactionStore

func NewMockTransactionStore(ctrl *gomock.Controller) *MockTransactionStore

NewMockTransactionStore creates a new mock instance

func (*MockTransactionStore) Create

func (m *MockTransactionStore) Create(arg0 context.Context, arg1 *core.Transaction) error

Create mocks base method

func (*MockTransactionStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTransactionStore) Find

Find mocks base method

func (*MockTransactionStore) FindFollow

func (m *MockTransactionStore) FindFollow(arg0 context.Context, arg1, arg2 string) (*core.Transaction, error)

FindFollow mocks base method

func (*MockTransactionStore) List

func (m *MockTransactionStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Transaction, error)

List mocks base method

type MockTransactionStoreMockRecorder

type MockTransactionStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransactionStoreMockRecorder is the mock recorder for MockTransactionStore

func (*MockTransactionStoreMockRecorder) Create

func (mr *MockTransactionStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTransactionStoreMockRecorder) Find

func (mr *MockTransactionStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockTransactionStoreMockRecorder) FindFollow

func (mr *MockTransactionStoreMockRecorder) FindFollow(arg0, arg1, arg2 interface{}) *gomock.Call

FindFollow indicates an expected call of FindFollow

func (*MockTransactionStoreMockRecorder) List

func (mr *MockTransactionStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List

type MockUserService

type MockUserService struct {
	// contains filtered or unexported fields
}

MockUserService is a mock of UserService interface

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance

func (*MockUserService) Auth

func (m *MockUserService) Auth(arg0 context.Context, arg1 string) (string, error)

Auth mocks base method

func (*MockUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUserService) Find

func (m *MockUserService) Find(arg0 context.Context, arg1 string) (*core.User, error)

Find mocks base method

func (*MockUserService) Login

func (m *MockUserService) Login(arg0 context.Context, arg1 string) (*core.User, error)

Login mocks base method

type MockUserServiceMockRecorder

type MockUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceMockRecorder is the mock recorder for MockUserService

func (*MockUserServiceMockRecorder) Auth

func (mr *MockUserServiceMockRecorder) Auth(arg0, arg1 interface{}) *gomock.Call

Auth indicates an expected call of Auth

func (*MockUserServiceMockRecorder) Find

func (mr *MockUserServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockUserServiceMockRecorder) Login

func (mr *MockUserServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call

Login indicates an expected call of Login

type MockUserStore

type MockUserStore struct {
	// contains filtered or unexported fields
}

MockUserStore is a mock of UserStore interface

func NewMockUserStore

func NewMockUserStore(ctrl *gomock.Controller) *MockUserStore

NewMockUserStore creates a new mock instance

func (*MockUserStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUserStore) Find

func (m *MockUserStore) Find(arg0 context.Context, arg1 string) (*core.User, error)

Find mocks base method

func (*MockUserStore) Save

func (m *MockUserStore) Save(arg0 context.Context, arg1 *core.User) error

Save mocks base method

type MockUserStoreMockRecorder

type MockUserStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserStoreMockRecorder is the mock recorder for MockUserStore

func (*MockUserStoreMockRecorder) Find

func (mr *MockUserStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockUserStoreMockRecorder) Save

func (mr *MockUserStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockVaultStore

type MockVaultStore struct {
	// contains filtered or unexported fields
}

MockVaultStore is a mock of VaultStore interface

func NewMockVaultStore

func NewMockVaultStore(ctrl *gomock.Controller) *MockVaultStore

NewMockVaultStore creates a new mock instance

func (*MockVaultStore) CountCollateral added in v1.2.4

func (m *MockVaultStore) CountCollateral(arg0 context.Context) (map[string]int64, error)

CountCollateral mocks base method

func (*MockVaultStore) Create

func (m *MockVaultStore) Create(arg0 context.Context, arg1 *core.Vault) error

Create mocks base method

func (*MockVaultStore) CreateEvent

func (m *MockVaultStore) CreateEvent(arg0 context.Context, arg1 *core.VaultEvent) error

CreateEvent mocks base method

func (*MockVaultStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockVaultStore) Find

func (m *MockVaultStore) Find(arg0 context.Context, arg1 string) (*core.Vault, error)

Find mocks base method

func (*MockVaultStore) FindEvent

func (m *MockVaultStore) FindEvent(arg0 context.Context, arg1 string, arg2 int64) (*core.VaultEvent, error)

FindEvent mocks base method

func (*MockVaultStore) List

func (m *MockVaultStore) List(arg0 context.Context, arg1 core.ListVaultRequest) ([]*core.Vault, error)

List mocks base method

func (*MockVaultStore) ListEvents

func (m *MockVaultStore) ListEvents(arg0 context.Context, arg1 string) ([]*core.VaultEvent, error)

ListEvents mocks base method

func (*MockVaultStore) Update

func (m *MockVaultStore) Update(arg0 context.Context, arg1 *core.Vault, arg2 int64) error

Update mocks base method

type MockVaultStoreMockRecorder

type MockVaultStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockVaultStoreMockRecorder is the mock recorder for MockVaultStore

func (*MockVaultStoreMockRecorder) CountCollateral added in v1.2.4

func (mr *MockVaultStoreMockRecorder) CountCollateral(arg0 interface{}) *gomock.Call

CountCollateral indicates an expected call of CountCollateral

func (*MockVaultStoreMockRecorder) Create

func (mr *MockVaultStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockVaultStoreMockRecorder) CreateEvent

func (mr *MockVaultStoreMockRecorder) CreateEvent(arg0, arg1 interface{}) *gomock.Call

CreateEvent indicates an expected call of CreateEvent

func (*MockVaultStoreMockRecorder) Find

func (mr *MockVaultStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockVaultStoreMockRecorder) FindEvent

func (mr *MockVaultStoreMockRecorder) FindEvent(arg0, arg1, arg2 interface{}) *gomock.Call

FindEvent indicates an expected call of FindEvent

func (*MockVaultStoreMockRecorder) List

func (mr *MockVaultStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockVaultStoreMockRecorder) ListEvents

func (mr *MockVaultStoreMockRecorder) ListEvents(arg0, arg1 interface{}) *gomock.Call

ListEvents indicates an expected call of ListEvents

func (*MockVaultStoreMockRecorder) Update

func (mr *MockVaultStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockWalletService

type MockWalletService struct {
	// contains filtered or unexported fields
}

MockWalletService is a mock of WalletService interface

func NewMockWalletService

func NewMockWalletService(ctrl *gomock.Controller) *MockWalletService

NewMockWalletService creates a new mock instance

func (*MockWalletService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockWalletService) HandleTransfer

func (m *MockWalletService) HandleTransfer(arg0 context.Context, arg1 *core.Transfer) error

HandleTransfer mocks base method

func (*MockWalletService) Pull

func (m *MockWalletService) Pull(arg0 context.Context, arg1 time.Time, arg2 int) ([]*core.Output, error)

Pull mocks base method

func (*MockWalletService) ReqTransfer

func (m *MockWalletService) ReqTransfer(arg0 context.Context, arg1 *core.Transfer) (string, error)

ReqTransfer mocks base method

func (*MockWalletService) Spend

func (m *MockWalletService) Spend(arg0 context.Context, arg1 []*core.Output, arg2 *core.Transfer) (*core.RawTransaction, error)

Spend mocks base method

type MockWalletServiceMockRecorder

type MockWalletServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockWalletServiceMockRecorder is the mock recorder for MockWalletService

func (*MockWalletServiceMockRecorder) HandleTransfer

func (mr *MockWalletServiceMockRecorder) HandleTransfer(arg0, arg1 interface{}) *gomock.Call

HandleTransfer indicates an expected call of HandleTransfer

func (*MockWalletServiceMockRecorder) Pull

func (mr *MockWalletServiceMockRecorder) Pull(arg0, arg1, arg2 interface{}) *gomock.Call

Pull indicates an expected call of Pull

func (*MockWalletServiceMockRecorder) ReqTransfer

func (mr *MockWalletServiceMockRecorder) ReqTransfer(arg0, arg1 interface{}) *gomock.Call

ReqTransfer indicates an expected call of ReqTransfer

func (*MockWalletServiceMockRecorder) Spend

func (mr *MockWalletServiceMockRecorder) Spend(arg0, arg1, arg2 interface{}) *gomock.Call

Spend indicates an expected call of Spend

type MockWalletStore

type MockWalletStore struct {
	// contains filtered or unexported fields
}

MockWalletStore is a mock of WalletStore interface

func NewMockWalletStore

func NewMockWalletStore(ctrl *gomock.Controller) *MockWalletStore

NewMockWalletStore creates a new mock instance

func (*MockWalletStore) CreateRawTransaction

func (m *MockWalletStore) CreateRawTransaction(arg0 context.Context, arg1 *core.RawTransaction) error

CreateRawTransaction mocks base method

func (*MockWalletStore) CreateTransfers

func (m *MockWalletStore) CreateTransfers(arg0 context.Context, arg1 []*core.Transfer) error

CreateTransfers mocks base method

func (*MockWalletStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockWalletStore) ExpireRawTransaction

func (m *MockWalletStore) ExpireRawTransaction(arg0 context.Context, arg1 *core.RawTransaction) error

ExpireRawTransaction mocks base method

func (*MockWalletStore) List

func (m *MockWalletStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Output, error)

List mocks base method

func (*MockWalletStore) ListNotPassedTransfers

func (m *MockWalletStore) ListNotPassedTransfers(arg0 context.Context) ([]*core.Transfer, error)

ListNotPassedTransfers mocks base method

func (*MockWalletStore) ListPendingRawTransactions

func (m *MockWalletStore) ListPendingRawTransactions(arg0 context.Context, arg1 int) ([]*core.RawTransaction, error)

ListPendingRawTransactions mocks base method

func (*MockWalletStore) ListPendingTransfers

func (m *MockWalletStore) ListPendingTransfers(arg0 context.Context) ([]*core.Transfer, error)

ListPendingTransfers mocks base method

func (*MockWalletStore) ListSpentBy

func (m *MockWalletStore) ListSpentBy(arg0 context.Context, arg1, arg2 string) ([]*core.Output, error)

ListSpentBy mocks base method

func (*MockWalletStore) ListUnspent

func (m *MockWalletStore) ListUnspent(arg0 context.Context, arg1 string, arg2 int) ([]*core.Output, error)

ListUnspent mocks base method

func (*MockWalletStore) Save

func (m *MockWalletStore) Save(arg0 context.Context, arg1 []*core.Output) error

Save mocks base method

func (*MockWalletStore) Spent

func (m *MockWalletStore) Spent(arg0 context.Context, arg1 []*core.Output, arg2 *core.Transfer) error

Spent mocks base method

func (*MockWalletStore) UpdateTransfer

func (m *MockWalletStore) UpdateTransfer(arg0 context.Context, arg1 *core.Transfer) error

UpdateTransfer mocks base method

type MockWalletStoreMockRecorder

type MockWalletStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockWalletStoreMockRecorder is the mock recorder for MockWalletStore

func (*MockWalletStoreMockRecorder) CreateRawTransaction

func (mr *MockWalletStoreMockRecorder) CreateRawTransaction(arg0, arg1 interface{}) *gomock.Call

CreateRawTransaction indicates an expected call of CreateRawTransaction

func (*MockWalletStoreMockRecorder) CreateTransfers

func (mr *MockWalletStoreMockRecorder) CreateTransfers(arg0, arg1 interface{}) *gomock.Call

CreateTransfers indicates an expected call of CreateTransfers

func (*MockWalletStoreMockRecorder) ExpireRawTransaction

func (mr *MockWalletStoreMockRecorder) ExpireRawTransaction(arg0, arg1 interface{}) *gomock.Call

ExpireRawTransaction indicates an expected call of ExpireRawTransaction

func (*MockWalletStoreMockRecorder) List

func (mr *MockWalletStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockWalletStoreMockRecorder) ListNotPassedTransfers

func (mr *MockWalletStoreMockRecorder) ListNotPassedTransfers(arg0 interface{}) *gomock.Call

ListNotPassedTransfers indicates an expected call of ListNotPassedTransfers

func (*MockWalletStoreMockRecorder) ListPendingRawTransactions

func (mr *MockWalletStoreMockRecorder) ListPendingRawTransactions(arg0, arg1 interface{}) *gomock.Call

ListPendingRawTransactions indicates an expected call of ListPendingRawTransactions

func (*MockWalletStoreMockRecorder) ListPendingTransfers

func (mr *MockWalletStoreMockRecorder) ListPendingTransfers(arg0 interface{}) *gomock.Call

ListPendingTransfers indicates an expected call of ListPendingTransfers

func (*MockWalletStoreMockRecorder) ListSpentBy

func (mr *MockWalletStoreMockRecorder) ListSpentBy(arg0, arg1, arg2 interface{}) *gomock.Call

ListSpentBy indicates an expected call of ListSpentBy

func (*MockWalletStoreMockRecorder) ListUnspent

func (mr *MockWalletStoreMockRecorder) ListUnspent(arg0, arg1, arg2 interface{}) *gomock.Call

ListUnspent indicates an expected call of ListUnspent

func (*MockWalletStoreMockRecorder) Save

func (mr *MockWalletStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save

func (*MockWalletStoreMockRecorder) Spent

func (mr *MockWalletStoreMockRecorder) Spent(arg0, arg1, arg2 interface{}) *gomock.Call

Spent indicates an expected call of Spent

func (*MockWalletStoreMockRecorder) UpdateTransfer

func (mr *MockWalletStoreMockRecorder) UpdateTransfer(arg0, arg1 interface{}) *gomock.Call

UpdateTransfer indicates an expected call of UpdateTransfer

Jump to

Keyboard shortcuts

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