mock_router

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_router is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRouter

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

MockRouter is a mock of Router interface.

func NewMockRouter

func NewMockRouter(ctrl *gomock.Controller) *MockRouter

NewMockRouter creates a new mock instance.

func (*MockRouter) Broadcast

func (m *MockRouter) Broadcast(id string) error

Broadcast mocks base method.

func (*MockRouter) EXPECT

func (m *MockRouter) EXPECT() *MockRouterMockRecorder

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

func (*MockRouter) QueryIBTP added in v1.13.0

func (m *MockRouter) QueryIBTP(id string, isReq bool) (*pb.IBTP, error)

QueryIBTP mocks base method.

func (*MockRouter) QueryInterchain added in v1.13.0

func (m *MockRouter) QueryInterchain(bxhID, serviceID string) (*pb.Interchain, error)

QueryInterchain mocks base method.

func (*MockRouter) Route

func (m *MockRouter) Route(ibtp *pb.IBTP) error

Route mocks base method.

func (*MockRouter) Start

func (m *MockRouter) Start() error

Start mocks base method.

func (*MockRouter) Stop

func (m *MockRouter) Stop() error

Stop mocks base method.

type MockRouterMockRecorder

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

MockRouterMockRecorder is the mock recorder for MockRouter.

func (*MockRouterMockRecorder) Broadcast

func (mr *MockRouterMockRecorder) Broadcast(id interface{}) *gomock.Call

Broadcast indicates an expected call of Broadcast.

func (*MockRouterMockRecorder) QueryIBTP added in v1.13.0

func (mr *MockRouterMockRecorder) QueryIBTP(id, isReq interface{}) *gomock.Call

QueryIBTP indicates an expected call of QueryIBTP.

func (*MockRouterMockRecorder) QueryInterchain added in v1.13.0

func (mr *MockRouterMockRecorder) QueryInterchain(bxhID, serviceID interface{}) *gomock.Call

QueryInterchain indicates an expected call of QueryInterchain.

func (*MockRouterMockRecorder) Route

func (mr *MockRouterMockRecorder) Route(ibtp interface{}) *gomock.Call

Route indicates an expected call of Route.

func (*MockRouterMockRecorder) Start

func (mr *MockRouterMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockRouterMockRecorder) Stop

func (mr *MockRouterMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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