Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMServiceInterface ¶
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 ¶
func (_m *IMServiceInterface) Pull(ctx context.Context, req *rpc.PullRequest) (*rpc.PullResponse, error)
Pull provides a mock function with given fields: ctx, req
func (*IMServiceInterface) Send ¶
func (_m *IMServiceInterface) Send(ctx context.Context, req *rpc.SendRequest) (*rpc.SendResponse, error)
Send provides a mock function with given fields: ctx, req
type MessageHandler ¶
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 ¶
func (_m *MessageHandler) Pull(ctx context.Context, req *rpc.PullRequest) (*rpc.PullResponse, error)
Pull provides a mock function with given fields: ctx, req
func (*MessageHandler) Send ¶
func (_m *MessageHandler) Send(ctx context.Context, req *rpc.SendRequest) (*rpc.SendResponse, error)
Send provides a mock function with given fields: ctx, req