mockgrpc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockgrpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPing_PingServer

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

MockPing_PingServer is a mock of Ping_PingServer interface

func NewMockPing_PingServer

func NewMockPing_PingServer(ctrl *gomock.Controller) *MockPing_PingServer

NewMockPing_PingServer creates a new mock instance

func (*MockPing_PingServer) Context

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

Context mocks base method

func (*MockPing_PingServer) EXPECT

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

func (*MockPing_PingServer) RecvMsg

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

RecvMsg mocks base method

func (*MockPing_PingServer) Send

func (m *MockPing_PingServer) Send(arg0 *grpc.Response) error

Send mocks base method

func (*MockPing_PingServer) SendHeader

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

SendHeader mocks base method

func (*MockPing_PingServer) SendMsg

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

SendMsg mocks base method

func (*MockPing_PingServer) SetHeader

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

SetHeader mocks base method

func (*MockPing_PingServer) SetTrailer

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

SetTrailer mocks base method

type MockPing_PingServerMockRecorder

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

MockPing_PingServerMockRecorder is the mock recorder for MockPing_PingServer

func (*MockPing_PingServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockPing_PingServerMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg

func (*MockPing_PingServerMockRecorder) Send

func (mr *MockPing_PingServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockPing_PingServerMockRecorder) SendHeader

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

SendHeader indicates an expected call of SendHeader

func (*MockPing_PingServerMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg

func (*MockPing_PingServerMockRecorder) SetHeader

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

SetHeader indicates an expected call of SetHeader

func (*MockPing_PingServerMockRecorder) SetTrailer

func (mr *MockPing_PingServerMockRecorder) 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