Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAssetService
- type MockAssetServiceMockRecorder
- type MockAssetStore
- type MockAssetStoreMockRecorder
- type MockCollateralStore
- func (m *MockCollateralStore) Create(arg0 context.Context, arg1 *core.Collateral) error
- func (m *MockCollateralStore) EXPECT() *MockCollateralStoreMockRecorder
- func (m *MockCollateralStore) Find(arg0 context.Context, arg1 string) (*core.Collateral, error)
- func (m *MockCollateralStore) List(arg0 context.Context) ([]*core.Collateral, error)
- func (m *MockCollateralStore) Update(arg0 context.Context, arg1 *core.Collateral, arg2 int64) error
- type MockCollateralStoreMockRecorder
- func (mr *MockCollateralStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCollateralStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCollateralStoreMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockCollateralStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockFlipStore
- func (m *MockFlipStore) Create(arg0 context.Context, arg1 *core.Flip) error
- func (m *MockFlipStore) CreateEvent(arg0 context.Context, arg1 *core.FlipEvent) error
- func (m *MockFlipStore) EXPECT() *MockFlipStoreMockRecorder
- func (m *MockFlipStore) Find(arg0 context.Context, arg1 string) (*core.Flip, error)
- func (m *MockFlipStore) FindEvent(arg0 context.Context, arg1 string, arg2 int64) (*core.FlipEvent, error)
- func (m *MockFlipStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Flip, error)
- func (m *MockFlipStore) ListEvents(arg0 context.Context, arg1 string) ([]*core.FlipEvent, error)
- func (m *MockFlipStore) Update(arg0 context.Context, arg1 *core.Flip, arg2 int64) error
- type MockFlipStoreMockRecorder
- func (mr *MockFlipStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFlipStoreMockRecorder) CreateEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFlipStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFlipStoreMockRecorder) FindEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFlipStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFlipStoreMockRecorder) ListEvents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFlipStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockMessageService
- type MockMessageServiceMockRecorder
- type MockMessageStore
- func (m *MockMessageStore) Create(arg0 context.Context, arg1 []*core.Message) error
- func (m *MockMessageStore) Delete(arg0 context.Context, arg1 []*core.Message) error
- func (m *MockMessageStore) EXPECT() *MockMessageStoreMockRecorder
- func (m *MockMessageStore) List(arg0 context.Context, arg1 int) ([]*core.Message, error)
- type MockMessageStoreMockRecorder
- type MockNotifier
- func (m *MockNotifier) Auth(arg0 context.Context, arg1 *core.User) error
- func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder
- func (m *MockNotifier) Snapshot(arg0 context.Context, arg1 *core.Transfer, arg2 string) error
- func (m *MockNotifier) Transaction(arg0 context.Context, arg1 *core.Transaction) error
- func (m *MockNotifier) VaultUnsafe(arg0 context.Context, arg1 *core.Collateral, arg2 *core.Vault) error
- type MockNotifierMockRecorder
- func (mr *MockNotifierMockRecorder) Auth(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNotifierMockRecorder) Snapshot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNotifierMockRecorder) Transaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNotifierMockRecorder) VaultUnsafe(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockOracleService
- type MockOracleServiceMockRecorder
- type MockOracleStore
- func (m *MockOracleStore) Create(arg0 context.Context, arg1 *core.Oracle) error
- func (m *MockOracleStore) Deny(arg0 context.Context, arg1 string) error
- func (m *MockOracleStore) EXPECT() *MockOracleStoreMockRecorder
- func (m *MockOracleStore) Find(arg0 context.Context, arg1 string) (*core.Oracle, error)
- func (m *MockOracleStore) List(arg0 context.Context) ([]*core.Oracle, error)
- func (m *MockOracleStore) ListCurrent(arg0 context.Context) (number.Values, error)
- func (m *MockOracleStore) ListFeeds(arg0 context.Context) ([]*core.OracleFeed, error)
- func (m *MockOracleStore) Rely(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOracleStore) Update(arg0 context.Context, arg1 *core.Oracle, arg2 int64) error
- type MockOracleStoreMockRecorder
- func (mr *MockOracleStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOracleStoreMockRecorder) Deny(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOracleStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOracleStoreMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockOracleStoreMockRecorder) ListCurrent(arg0 interface{}) *gomock.Call
- func (mr *MockOracleStoreMockRecorder) ListFeeds(arg0 interface{}) *gomock.Call
- func (mr *MockOracleStoreMockRecorder) Rely(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOracleStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockParliament
- func (m *MockParliament) Approved(arg0 context.Context, arg1 *core.Proposal) error
- func (m *MockParliament) Created(arg0 context.Context, arg1 *core.Proposal) error
- func (m *MockParliament) EXPECT() *MockParliamentMockRecorder
- func (m *MockParliament) Passed(arg0 context.Context, arg1 *core.Proposal) error
- type MockParliamentMockRecorder
- type MockProposalStore
- func (m *MockProposalStore) Create(arg0 context.Context, arg1 *core.Proposal) error
- func (m *MockProposalStore) EXPECT() *MockProposalStoreMockRecorder
- func (m *MockProposalStore) Find(arg0 context.Context, arg1 string) (*core.Proposal, error)
- func (m *MockProposalStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Proposal, error)
- func (m *MockProposalStore) Update(arg0 context.Context, arg1 *core.Proposal, arg2 int64) error
- type MockProposalStoreMockRecorder
- func (mr *MockProposalStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProposalStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProposalStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProposalStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockSession
- type MockSessionMockRecorder
- type MockTransactionStore
- func (m *MockTransactionStore) Create(arg0 context.Context, arg1 *core.Transaction) error
- func (m *MockTransactionStore) EXPECT() *MockTransactionStoreMockRecorder
- func (m *MockTransactionStore) Find(arg0 context.Context, arg1 string) (*core.Transaction, error)
- func (m *MockTransactionStore) FindFollow(arg0 context.Context, arg1, arg2 string) (*core.Transaction, error)
- func (m *MockTransactionStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Transaction, error)
- type MockTransactionStoreMockRecorder
- func (mr *MockTransactionStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTransactionStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTransactionStoreMockRecorder) FindFollow(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTransactionStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockUserService
- func (m *MockUserService) Auth(arg0 context.Context, arg1 string) (string, error)
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) Find(arg0 context.Context, arg1 string) (*core.User, error)
- func (m *MockUserService) Login(arg0 context.Context, arg1 string) (*core.User, error)
- type MockUserServiceMockRecorder
- type MockUserStore
- type MockUserStoreMockRecorder
- type MockVaultStore
- func (m *MockVaultStore) CountCollateral(arg0 context.Context) (map[string]int64, error)
- func (m *MockVaultStore) Create(arg0 context.Context, arg1 *core.Vault) error
- func (m *MockVaultStore) CreateEvent(arg0 context.Context, arg1 *core.VaultEvent) error
- func (m *MockVaultStore) EXPECT() *MockVaultStoreMockRecorder
- func (m *MockVaultStore) Find(arg0 context.Context, arg1 string) (*core.Vault, error)
- func (m *MockVaultStore) FindEvent(arg0 context.Context, arg1 string, arg2 int64) (*core.VaultEvent, error)
- func (m *MockVaultStore) List(arg0 context.Context, arg1 core.ListVaultRequest) ([]*core.Vault, error)
- func (m *MockVaultStore) ListEvents(arg0 context.Context, arg1 string) ([]*core.VaultEvent, error)
- func (m *MockVaultStore) Update(arg0 context.Context, arg1 *core.Vault, arg2 int64) error
- type MockVaultStoreMockRecorder
- func (mr *MockVaultStoreMockRecorder) CountCollateral(arg0 interface{}) *gomock.Call
- func (mr *MockVaultStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVaultStoreMockRecorder) CreateEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVaultStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVaultStoreMockRecorder) FindEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVaultStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVaultStoreMockRecorder) ListEvents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVaultStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockWalletService
- func (m *MockWalletService) EXPECT() *MockWalletServiceMockRecorder
- func (m *MockWalletService) HandleTransfer(arg0 context.Context, arg1 *core.Transfer) error
- func (m *MockWalletService) Pull(arg0 context.Context, arg1 time.Time, arg2 int) ([]*core.Output, error)
- func (m *MockWalletService) ReqTransfer(arg0 context.Context, arg1 *core.Transfer) (string, error)
- func (m *MockWalletService) Spend(arg0 context.Context, arg1 []*core.Output, arg2 *core.Transfer) (*core.RawTransaction, error)
- type MockWalletServiceMockRecorder
- func (mr *MockWalletServiceMockRecorder) HandleTransfer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletServiceMockRecorder) Pull(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletServiceMockRecorder) ReqTransfer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletServiceMockRecorder) Spend(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockWalletStore
- func (m *MockWalletStore) CreateRawTransaction(arg0 context.Context, arg1 *core.RawTransaction) error
- func (m *MockWalletStore) CreateTransfers(arg0 context.Context, arg1 []*core.Transfer) error
- func (m *MockWalletStore) EXPECT() *MockWalletStoreMockRecorder
- func (m *MockWalletStore) ExpireRawTransaction(arg0 context.Context, arg1 *core.RawTransaction) error
- func (m *MockWalletStore) List(arg0 context.Context, arg1 int64, arg2 int) ([]*core.Output, error)
- func (m *MockWalletStore) ListNotPassedTransfers(arg0 context.Context) ([]*core.Transfer, error)
- func (m *MockWalletStore) ListPendingRawTransactions(arg0 context.Context, arg1 int) ([]*core.RawTransaction, error)
- func (m *MockWalletStore) ListPendingTransfers(arg0 context.Context) ([]*core.Transfer, error)
- func (m *MockWalletStore) ListSpentBy(arg0 context.Context, arg1, arg2 string) ([]*core.Output, error)
- func (m *MockWalletStore) ListUnspent(arg0 context.Context, arg1 string, arg2 int) ([]*core.Output, error)
- func (m *MockWalletStore) Save(arg0 context.Context, arg1 []*core.Output) error
- func (m *MockWalletStore) Spent(arg0 context.Context, arg1 []*core.Output, arg2 *core.Transfer) error
- func (m *MockWalletStore) UpdateTransfer(arg0 context.Context, arg1 *core.Transfer) error
- type MockWalletStoreMockRecorder
- func (mr *MockWalletStoreMockRecorder) CreateRawTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) CreateTransfers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) ExpireRawTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) ListNotPassedTransfers(arg0 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) ListPendingRawTransactions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) ListPendingTransfers(arg0 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) ListSpentBy(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) ListUnspent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) Spent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) UpdateTransfer(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockAssetService) EXPECT() *MockAssetServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockAssetStore) EXPECT() *MockAssetStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockCollateralStore) EXPECT() *MockCollateralStoreMockRecorder
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 ¶
func (m *MockCollateralStore) List(arg0 context.Context) ([]*core.Collateral, error)
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) CreateEvent ¶
CreateEvent mocks base method
func (*MockFlipStore) EXPECT ¶
func (m *MockFlipStore) EXPECT() *MockFlipStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFlipStore) FindEvent ¶
func (m *MockFlipStore) FindEvent(arg0 context.Context, arg1 string, arg2 int64) (*core.FlipEvent, error)
FindEvent mocks base method
func (*MockFlipStore) ListEvents ¶
ListEvents 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 ¶
func (m *MockMessageService) EXPECT() *MockMessageServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) EXPECT ¶
func (m *MockMessageStore) EXPECT() *MockMessageStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) EXPECT ¶
func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockOracleService) EXPECT() *MockOracleServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) Deny ¶ added in v1.2.9
func (m *MockOracleStore) Deny(arg0 context.Context, arg1 string) error
Deny mocks base method
func (*MockOracleStore) EXPECT ¶
func (m *MockOracleStore) EXPECT() *MockOracleStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOracleStore) ListCurrent ¶
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
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) EXPECT ¶
func (m *MockParliament) EXPECT() *MockParliamentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) EXPECT ¶
func (m *MockProposalStore) EXPECT() *MockProposalStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
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 ¶
func (m *MockTransactionStore) EXPECT() *MockTransactionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTransactionStore) Find ¶
func (m *MockTransactionStore) Find(arg0 context.Context, arg1 string) (*core.Transaction, error)
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) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockUserStore) EXPECT() *MockUserStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
CountCollateral mocks base method
func (*MockVaultStore) CreateEvent ¶
func (m *MockVaultStore) CreateEvent(arg0 context.Context, arg1 *core.VaultEvent) error
CreateEvent mocks base method
func (*MockVaultStore) EXPECT ¶
func (m *MockVaultStore) EXPECT() *MockVaultStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
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 ¶
func (m *MockWalletService) EXPECT() *MockWalletServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWalletService) HandleTransfer ¶
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 ¶
ReqTransfer 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 ¶
CreateTransfers mocks base method
func (*MockWalletStore) EXPECT ¶
func (m *MockWalletStore) EXPECT() *MockWalletStoreMockRecorder
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) ListNotPassedTransfers ¶
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 ¶
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) Spent ¶
func (m *MockWalletStore) Spent(arg0 context.Context, arg1 []*core.Output, arg2 *core.Transfer) error
Spent mocks base method
func (*MockWalletStore) UpdateTransfer ¶
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