mock_hello

package
Version: v0.0.0-...-d144a35 Latest Latest
Warning

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

Go to latest
Published: May 6, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGreeterClient

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

Mock of GreeterClient interface

func NewMockGreeterClient

func NewMockGreeterClient(ctrl *gomock.Controller) *MockGreeterClient

func (*MockGreeterClient) EXPECT

func (_m *MockGreeterClient) EXPECT() *_MockGreeterClientRecorder

func (*MockGreeterClient) SayHello

func (_m *MockGreeterClient) SayHello(ctx context.Context, in *pb.Hello_Req, opts ...grpc.CallOption) (*pb.Hello_Res, error)

type MockGreeterServer

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

Mock of GreeterServer interface

func NewMockGreeterServer

func NewMockGreeterServer(ctrl *gomock.Controller) *MockGreeterServer

func (*MockGreeterServer) EXPECT

func (_m *MockGreeterServer) EXPECT() *_MockGreeterServerRecorder

func (*MockGreeterServer) SayHello

func (_m *MockGreeterServer) SayHello(_param0 context.Context, _param1 *pb.Hello_Req) (*pb.Hello_Res, error)

Source Files

Jump to

Keyboard shortcuts

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