mock_relay

package
v0.0.0-...-fe4d2ff Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_relay is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRelayClient

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

MockRelayClient is a mock of RelayClient interface.

func NewMockRelayClient

func NewMockRelayClient(ctrl *gomock.Controller) *MockRelayClient

NewMockRelayClient creates a new mock instance.

func (*MockRelayClient) Close

func (m *MockRelayClient) Close() error

Close mocks base method.

func (*MockRelayClient) EXPECT

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

func (*MockRelayClient) Publish

func (m *MockRelayClient) Publish(ctx context.Context, evtType int, data []byte) error

Publish mocks base method.

func (*MockRelayClient) Subscribe

func (m *MockRelayClient) Subscribe(ctx context.Context, offset int64) error

Subscribe mocks base method.

type MockRelayClientMockRecorder

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

MockRelayClientMockRecorder is the mock recorder for MockRelayClient.

func (*MockRelayClientMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRelayClientMockRecorder) Publish

func (mr *MockRelayClientMockRecorder) Publish(ctx, evtType, data interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockRelayClientMockRecorder) Subscribe

func (mr *MockRelayClientMockRecorder) Subscribe(ctx, offset interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

type MockRelayServer

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

MockRelayServer is a mock of RelayServer interface.

func NewMockRelayServer

func NewMockRelayServer(ctrl *gomock.Controller) *MockRelayServer

NewMockRelayServer creates a new mock instance.

func (*MockRelayServer) Close

func (m *MockRelayServer) Close() error

Close mocks base method.

func (*MockRelayServer) EXPECT

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

func (*MockRelayServer) ListenAndServe

func (m *MockRelayServer) ListenAndServe() error

ListenAndServe mocks base method.

type MockRelayServerMockRecorder

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

MockRelayServerMockRecorder is the mock recorder for MockRelayServer.

func (*MockRelayServerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRelayServerMockRecorder) ListenAndServe

func (mr *MockRelayServerMockRecorder) ListenAndServe() *gomock.Call

ListenAndServe indicates an expected call of ListenAndServe.

Jump to

Keyboard shortcuts

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