mocks

package
v0.0.0-...-4602fbc Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMServiceInterface

type IMServiceInterface struct {
	mock.Mock
}

IMServiceInterface is an autogenerated mock type for the IMServiceInterface type

func NewIMServiceInterface

func NewIMServiceInterface(t mockConstructorTestingTNewIMServiceInterface) *IMServiceInterface

NewIMServiceInterface creates a new instance of IMServiceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*IMServiceInterface) Pull

Pull provides a mock function with given fields: ctx, req

func (*IMServiceInterface) Send

Send provides a mock function with given fields: ctx, req

type MessageHandler

type MessageHandler struct {
	mock.Mock
}

MessageHandler is an autogenerated mock type for the MessageHandler type

func NewMessageHandler

func NewMessageHandler(t mockConstructorTestingTNewMessageHandler) *MessageHandler

NewMessageHandler creates a new instance of MessageHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MessageHandler) Pull

Pull provides a mock function with given fields: ctx, req

func (*MessageHandler) Send

Send provides a mock function with given fields: ctx, req

Jump to

Keyboard shortcuts

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