mock

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 4 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 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

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

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

Jump to

Keyboard shortcuts

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