mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 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 ClientStream

type ClientStream struct {
	mock.Mock
}

ClientStream is an autogenerated mock type for the ClientStream type

func (*ClientStream) CloseSend

func (_m *ClientStream) CloseSend() error

CloseSend provides a mock function with given fields:

func (*ClientStream) Context

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

Context provides a mock function with given fields:

func (*ClientStream) Header

func (_m *ClientStream) Header() (metadata.MD, error)

Header provides a mock function with given fields:

func (*ClientStream) RecvMsg

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

RecvMsg provides a mock function with given fields: m

func (*ClientStream) SendMsg

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

SendMsg provides a mock function with given fields: m

func (*ClientStream) Trailer

func (_m *ClientStream) Trailer() metadata.MD

Trailer provides a mock function with given fields:

type ServerStream

type ServerStream struct {
	mock.Mock
}

ServerStream is an autogenerated mock type for the ServerStream type

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