Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBlockchainStats
- type MockBlockchainStatsMockRecorder
- type MockChain
- func (m *MockChain) EXPECT() *MockChainMockRecorder
- func (m *MockChain) GetChainID(arg0 context.Context) (string, error)
- func (m *MockChain) SubmitTransactionAsync(arg0 context.Context, arg1 *v1.Transaction) (*coretypes.ResultBroadcastTx, error)
- func (m *MockChain) SubmitTransactionSync(arg0 context.Context, arg1 *v1.Transaction) (*coretypes.ResultBroadcastTx, error)
- type MockChainMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockchainStats ¶
type MockBlockchainStats struct {
// contains filtered or unexported fields
}
MockBlockchainStats is a mock of BlockchainStats interface.
func NewMockBlockchainStats ¶
func NewMockBlockchainStats(ctrl *gomock.Controller) *MockBlockchainStats
NewMockBlockchainStats creates a new mock instance.
func (*MockBlockchainStats) EXPECT ¶
func (m *MockBlockchainStats) EXPECT() *MockBlockchainStatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockchainStats) Height ¶
func (m *MockBlockchainStats) Height() uint64
Height mocks base method.
type MockBlockchainStatsMockRecorder ¶
type MockBlockchainStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockchainStatsMockRecorder is the mock recorder for MockBlockchainStats.
func (*MockBlockchainStatsMockRecorder) Height ¶
func (mr *MockBlockchainStatsMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
type MockChain ¶
type MockChain struct {
// contains filtered or unexported fields
}
MockChain is a mock of Chain interface.
func NewMockChain ¶
func NewMockChain(ctrl *gomock.Controller) *MockChain
NewMockChain creates a new mock instance.
func (*MockChain) EXPECT ¶
func (m *MockChain) EXPECT() *MockChainMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChain) GetChainID ¶
GetChainID mocks base method.
func (*MockChain) SubmitTransactionAsync ¶
func (m *MockChain) SubmitTransactionAsync(arg0 context.Context, arg1 *v1.Transaction) (*coretypes.ResultBroadcastTx, error)
SubmitTransactionAsync mocks base method.
func (*MockChain) SubmitTransactionSync ¶
func (m *MockChain) SubmitTransactionSync(arg0 context.Context, arg1 *v1.Transaction) (*coretypes.ResultBroadcastTx, error)
SubmitTransactionSync mocks base method.
type MockChainMockRecorder ¶
type MockChainMockRecorder struct {
// contains filtered or unexported fields
}
MockChainMockRecorder is the mock recorder for MockChain.
func (*MockChainMockRecorder) GetChainID ¶
func (mr *MockChainMockRecorder) GetChainID(arg0 interface{}) *gomock.Call
GetChainID indicates an expected call of GetChainID.
func (*MockChainMockRecorder) SubmitTransactionAsync ¶
func (mr *MockChainMockRecorder) SubmitTransactionAsync(arg0, arg1 interface{}) *gomock.Call
SubmitTransactionAsync indicates an expected call of SubmitTransactionAsync.
func (*MockChainMockRecorder) SubmitTransactionSync ¶
func (mr *MockChainMockRecorder) SubmitTransactionSync(arg0, arg1 interface{}) *gomock.Call
SubmitTransactionSync indicates an expected call of SubmitTransactionSync.