Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBroadcaster
- func (m *MockBroadcaster) Broadcast(msgs []types.Msg, memo string) (*types.TxResponse, error)
- func (m *MockBroadcaster) BroadcastMsg(msg types.Msg, memo string) (*types.TxResponse, error)
- func (m *MockBroadcaster) EXPECT() *MockBroadcasterMockRecorder
- func (m *MockBroadcaster) From() types.AccAddress
- func (m *MockBroadcaster) GetHeight(ctx context.Context) (uint64, error)
- func (m *MockBroadcaster) PingContext(ctx context.Context) error
- type MockBroadcasterMockRecorder
- func (mr *MockBroadcasterMockRecorder) Broadcast(msgs, memo interface{}) *gomock.Call
- func (mr *MockBroadcasterMockRecorder) BroadcastMsg(msg, memo interface{}) *gomock.Call
- func (mr *MockBroadcasterMockRecorder) From() *gomock.Call
- func (mr *MockBroadcasterMockRecorder) GetHeight(ctx interface{}) *gomock.Call
- func (mr *MockBroadcasterMockRecorder) PingContext(ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBroadcaster ¶
type MockBroadcaster struct {
// contains filtered or unexported fields
}
MockBroadcaster is a mock of Broadcaster interface
func NewMockBroadcaster ¶
func NewMockBroadcaster(ctrl *gomock.Controller) *MockBroadcaster
NewMockBroadcaster creates a new mock instance
func (*MockBroadcaster) Broadcast ¶
func (m *MockBroadcaster) Broadcast(msgs []types.Msg, memo string) (*types.TxResponse, error)
Broadcast mocks base method
func (*MockBroadcaster) BroadcastMsg ¶
func (m *MockBroadcaster) BroadcastMsg(msg types.Msg, memo string) (*types.TxResponse, error)
BroadcastMsg mocks base method
func (*MockBroadcaster) EXPECT ¶
func (m *MockBroadcaster) EXPECT() *MockBroadcasterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBroadcaster) From ¶
func (m *MockBroadcaster) From() types.AccAddress
From mocks base method
func (*MockBroadcaster) GetHeight ¶
func (m *MockBroadcaster) GetHeight(ctx context.Context) (uint64, error)
GetHeight mocks base method
func (*MockBroadcaster) PingContext ¶
func (m *MockBroadcaster) PingContext(ctx context.Context) error
PingContext mocks base method
type MockBroadcasterMockRecorder ¶
type MockBroadcasterMockRecorder struct {
// contains filtered or unexported fields
}
MockBroadcasterMockRecorder is the mock recorder for MockBroadcaster
func (*MockBroadcasterMockRecorder) Broadcast ¶
func (mr *MockBroadcasterMockRecorder) Broadcast(msgs, memo interface{}) *gomock.Call
Broadcast indicates an expected call of Broadcast
func (*MockBroadcasterMockRecorder) BroadcastMsg ¶
func (mr *MockBroadcasterMockRecorder) BroadcastMsg(msg, memo interface{}) *gomock.Call
BroadcastMsg indicates an expected call of BroadcastMsg
func (*MockBroadcasterMockRecorder) From ¶
func (mr *MockBroadcasterMockRecorder) From() *gomock.Call
From indicates an expected call of From
func (*MockBroadcasterMockRecorder) GetHeight ¶
func (mr *MockBroadcasterMockRecorder) GetHeight(ctx interface{}) *gomock.Call
GetHeight indicates an expected call of GetHeight
func (*MockBroadcasterMockRecorder) PingContext ¶
func (mr *MockBroadcasterMockRecorder) PingContext(ctx interface{}) *gomock.Call
PingContext indicates an expected call of PingContext