mocks

package
Version: v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStream

type MockStream struct {
	mock.Mock
}

MockStream is an autogenerated mock type for the MockStream type

func (*MockStream) CloseSend

func (_m *MockStream) CloseSend() error

CloseSend provides a mock function with given fields:

func (*MockStream) Context

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

Context provides a mock function with given fields:

func (*MockStream) Header

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

Header provides a mock function with given fields:

func (*MockStream) Recv

func (_m *MockStream) Recv() (*gossip.Envelope, error)

Recv provides a mock function with given fields:

func (*MockStream) RecvMsg

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

RecvMsg provides a mock function with given fields: m

func (*MockStream) Send

func (_m *MockStream) Send(_a0 *gossip.Envelope) error

Send provides a mock function with given fields: _a0

func (*MockStream) SendMsg

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

SendMsg provides a mock function with given fields: m

func (*MockStream) Trailer

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

Trailer provides a mock function with given fields:

Source Files

Jump to

Keyboard shortcuts

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