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 IMService

type IMService struct {
	mock.Mock
}

IMService is an autogenerated mock type for the IMService type

func NewIMService

func NewIMService(t mockConstructorTestingTNewIMService) *IMService

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

func (*IMService) Pull

func (_m *IMService) Pull(ctx context.Context, req *rpc.PullRequest) (*rpc.PullResponse, error)

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

func (*IMService) Send

func (_m *IMService) Send(ctx context.Context, req *rpc.SendRequest) (*rpc.SendResponse, error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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