mock_grpc

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_grpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServerStream

type MockServerStream struct {
	// contains filtered or unexported fields
}

MockServerStream is a mock of ServerStream interface

func NewMockServerStream

func NewMockServerStream(ctrl *gomock.Controller) *MockServerStream

NewMockServerStream creates a new mock instance

func (*MockServerStream) Context

func (m *MockServerStream) Context() context.Context

Context mocks base method

func (*MockServerStream) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockServerStream) RecvMsg

func (m *MockServerStream) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockServerStream) SendHeader

func (m *MockServerStream) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method

func (*MockServerStream) SendMsg

func (m *MockServerStream) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockServerStream) SetHeader

func (m *MockServerStream) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method

func (*MockServerStream) SetTrailer

func (m *MockServerStream) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method

type MockServerStreamMockRecorder

type MockServerStreamMockRecorder struct {
	// contains filtered or unexported fields
}

MockServerStreamMockRecorder is the mock recorder for MockServerStream

func (*MockServerStreamMockRecorder) Context

func (mr *MockServerStreamMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockServerStreamMockRecorder) RecvMsg

func (mr *MockServerStreamMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockServerStreamMockRecorder) SendHeader

func (mr *MockServerStreamMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockServerStreamMockRecorder) SendMsg

func (mr *MockServerStreamMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockServerStreamMockRecorder) SetHeader

func (mr *MockServerStreamMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockServerStreamMockRecorder) SetTrailer

func (mr *MockServerStreamMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

Jump to

Keyboard shortcuts

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