mock_helloworld - ActiveState ActiveGo 1.8
...

Package mock_helloworld

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

Overview ▾

type MockGreeterClient

Mock of GreeterClient interface

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

func NewMockGreeterClient

func NewMockGreeterClient(ctrl *gomock.Controller) *MockGreeterClient

func (*MockGreeterClient) EXPECT

func (_m *MockGreeterClient) EXPECT() *_MockGreeterClientRecorder

func (*MockGreeterClient) SayHello

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