mock

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

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 MockHandler

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

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) GetService

func (m *MockHandler) GetService(arg0 string) (service.Service, error)

GetService mocks base method.

func (*MockHandler) RegisterService

func (m *MockHandler) RegisterService(arg0 string, arg1 service.Service) error

RegisterService mocks base method.

func (*MockHandler) Start

func (m *MockHandler) Start() error

Start mocks base method.

func (*MockHandler) Stop

func (m *MockHandler) Stop() error

Stop mocks base method.

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) GetService

func (mr *MockHandlerMockRecorder) GetService(arg0 interface{}) *gomock.Call

GetService indicates an expected call of GetService.

func (*MockHandlerMockRecorder) RegisterService

func (mr *MockHandlerMockRecorder) RegisterService(arg0, arg1 interface{}) *gomock.Call

RegisterService indicates an expected call of RegisterService.

func (*MockHandlerMockRecorder) Start

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

Start indicates an expected call of Start.

func (*MockHandlerMockRecorder) Stop

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

Stop indicates an expected call of Stop.

type MockWebsocket

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

MockWebsocket is a mock of Websocket interface.

func NewMockWebsocket

func NewMockWebsocket(ctrl *gomock.Controller) *MockWebsocket

NewMockWebsocket creates a new mock instance.

func (*MockWebsocket) EXPECT

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

func (*MockWebsocket) PublishData

func (m *MockWebsocket) PublishData(arg0 comm.DIDCommMsg)

PublishData mocks base method.

func (*MockWebsocket) SubscribeData

func (m *MockWebsocket) SubscribeData() (uuid.UUID, chan comm.DIDCommMsg)

SubscribeData mocks base method.

func (*MockWebsocket) UnsubscribeData

func (m *MockWebsocket) UnsubscribeData(arg0 uuid.UUID)

UnsubscribeData mocks base method.

type MockWebsocketMockRecorder

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

MockWebsocketMockRecorder is the mock recorder for MockWebsocket.

func (*MockWebsocketMockRecorder) PublishData

func (mr *MockWebsocketMockRecorder) PublishData(arg0 interface{}) *gomock.Call

PublishData indicates an expected call of PublishData.

func (*MockWebsocketMockRecorder) SubscribeData

func (mr *MockWebsocketMockRecorder) SubscribeData() *gomock.Call

SubscribeData indicates an expected call of SubscribeData.

func (*MockWebsocketMockRecorder) UnsubscribeData

func (mr *MockWebsocketMockRecorder) UnsubscribeData(arg0 interface{}) *gomock.Call

UnsubscribeData indicates an expected call of UnsubscribeData.

Jump to

Keyboard shortcuts

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