grpc: google.golang.org/grpc/examples/helloworld/mock_helloworld Index | Files

package mock_helloworld

import "google.golang.org/grpc/examples/helloworld/mock_helloworld"

Index

Package Files

hw_mock.go

type MockGreeterClient Uses

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

Mock of GreeterClient interface

func NewMockGreeterClient Uses

func NewMockGreeterClient(ctrl *gomock.Controller) *MockGreeterClient

func (*MockGreeterClient) EXPECT Uses

func (_m *MockGreeterClient) EXPECT() *_MockGreeterClientRecorder

func (*MockGreeterClient) SayHello Uses

func (_m *MockGreeterClient) SayHello(_param0 context.Context, _param1 *helloworld.HelloRequest, _param2 ...grpc.CallOption) (*helloworld.HelloReply, error)

Package mock_helloworld imports 4 packages (graph). Updated 2018-11-13. Refresh now. Tools for package owners.