mocks

package
v0.0.0-...-ff909ee Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 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 ServerStream

type ServerStream struct {
	mock.Mock
}

ServerStream is an autogenerated mock type for the ServerStream type

func NewServerStream

func NewServerStream(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServerStream

NewServerStream creates a new instance of ServerStream. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ServerStream) Context

func (_m *ServerStream) Context() context.Context

Context provides a mock function with given fields:

func (*ServerStream) RecvMsg

func (_m *ServerStream) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*ServerStream) SendHeader

func (_m *ServerStream) SendHeader(_a0 metadata.MD) error

SendHeader provides a mock function with given fields: _a0

func (*ServerStream) SendMsg

func (_m *ServerStream) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*ServerStream) SetHeader

func (_m *ServerStream) SetHeader(_a0 metadata.MD) error

SetHeader provides a mock function with given fields: _a0

func (*ServerStream) SetTrailer

func (_m *ServerStream) SetTrailer(_a0 metadata.MD)

SetTrailer provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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