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: 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 MockRelayState

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

MockRelayState is a mock of RelayState interface.

func NewMockRelayState

func NewMockRelayState(ctrl *gomock.Controller) *MockRelayState

NewMockRelayState creates a new mock instance.

func (*MockRelayState) AddRelayEndpoint

func (m *MockRelayState) AddRelayEndpoint(arg0, arg1, arg2, arg3 string) error

AddRelayEndpoint mocks base method.

func (*MockRelayState) AddRelayMessage

func (m *MockRelayState) AddRelayMessage(arg0, arg1 string) error

AddRelayMessage mocks base method.

func (*MockRelayState) AddRelayRegistration

func (m *MockRelayState) AddRelayRegistration(arg0 string) error

AddRelayRegistration mocks base method.

func (*MockRelayState) DeleteRelayMessage

func (m *MockRelayState) DeleteRelayMessage(arg0 int64) error

DeleteRelayMessage mocks base method.

func (*MockRelayState) EXPECT

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

func (*MockRelayState) GetAllRecentRelayMessages

func (m *MockRelayState) GetAllRecentRelayMessages() ([]*state.MessageState, error)

GetAllRecentRelayMessages mocks base method.

func (*MockRelayState) GetRelayEndpoints

func (m *MockRelayState) GetRelayEndpoints(arg0 string) ([]id.Service, error)

GetRelayEndpoints mocks base method.

func (*MockRelayState) GetRelayMessages

func (m *MockRelayState) GetRelayMessages(arg0 string) ([]*state.MessageState, error)

GetRelayMessages mocks base method.

func (*MockRelayState) GetRelayRegistration

func (m *MockRelayState) GetRelayRegistration(arg0 string) (bool, error)

GetRelayRegistration mocks base method.

type MockRelayStateMockRecorder

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

MockRelayStateMockRecorder is the mock recorder for MockRelayState.

func (*MockRelayStateMockRecorder) AddRelayEndpoint

func (mr *MockRelayStateMockRecorder) AddRelayEndpoint(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddRelayEndpoint indicates an expected call of AddRelayEndpoint.

func (*MockRelayStateMockRecorder) AddRelayMessage

func (mr *MockRelayStateMockRecorder) AddRelayMessage(arg0, arg1 interface{}) *gomock.Call

AddRelayMessage indicates an expected call of AddRelayMessage.

func (*MockRelayStateMockRecorder) AddRelayRegistration

func (mr *MockRelayStateMockRecorder) AddRelayRegistration(arg0 interface{}) *gomock.Call

AddRelayRegistration indicates an expected call of AddRelayRegistration.

func (*MockRelayStateMockRecorder) DeleteRelayMessage

func (mr *MockRelayStateMockRecorder) DeleteRelayMessage(arg0 interface{}) *gomock.Call

DeleteRelayMessage indicates an expected call of DeleteRelayMessage.

func (*MockRelayStateMockRecorder) GetAllRecentRelayMessages

func (mr *MockRelayStateMockRecorder) GetAllRecentRelayMessages() *gomock.Call

GetAllRecentRelayMessages indicates an expected call of GetAllRecentRelayMessages.

func (*MockRelayStateMockRecorder) GetRelayEndpoints

func (mr *MockRelayStateMockRecorder) GetRelayEndpoints(arg0 interface{}) *gomock.Call

GetRelayEndpoints indicates an expected call of GetRelayEndpoints.

func (*MockRelayStateMockRecorder) GetRelayMessages

func (mr *MockRelayStateMockRecorder) GetRelayMessages(arg0 interface{}) *gomock.Call

GetRelayMessages indicates an expected call of GetRelayMessages.

func (*MockRelayStateMockRecorder) GetRelayRegistration

func (mr *MockRelayStateMockRecorder) GetRelayRegistration(arg0 interface{}) *gomock.Call

GetRelayRegistration indicates an expected call of GetRelayRegistration.

Jump to

Keyboard shortcuts

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