hiboot: hidevops.io/hiboot/pkg/starter/grpc/mockgrpc Index | Files

package mockgrpc

import "hidevops.io/hiboot/pkg/starter/grpc/mockgrpc"

Package mockgrpc is a generated GoMock package.

Package mockgrpc is a generated GoMock package.

Index

Package Files

health.go helloworld.go rpcmsg.go

type MockGreeterClient Uses

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

MockGreeterClient is a mock of GreeterClient interface

func NewMockGreeterClient Uses

func NewMockGreeterClient(ctrl *gomock.Controller) *MockGreeterClient

NewMockGreeterClient creates a new mock instance

func (*MockGreeterClient) EXPECT Uses

func (m *MockGreeterClient) EXPECT() *MockGreeterClientMockRecorder

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

func (*MockGreeterClient) SayHello Uses

func (m *MockGreeterClient) SayHello(arg0 context.Context, arg1 *helloworld.HelloRequest, arg2 ...grpc.CallOption) (*helloworld.HelloReply, error)

SayHello mocks base method

type MockGreeterClientMockRecorder Uses

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

MockGreeterClientMockRecorder is the mock recorder for MockGreeterClient

func (*MockGreeterClientMockRecorder) SayHello Uses

func (mr *MockGreeterClientMockRecorder) SayHello(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SayHello indicates an expected call of SayHello

type MockHealthClient Uses

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

MockHealthClient is a mock of HealthClient interface

func NewMockHealthClient Uses

func NewMockHealthClient(ctrl *gomock.Controller) *MockHealthClient

NewMockHealthClient creates a new mock instance

func (*MockHealthClient) Check Uses

func (m *MockHealthClient) Check(arg0 context.Context, arg1 *grpc_health_v1.HealthCheckRequest, arg2 ...grpc.CallOption) (*grpc_health_v1.HealthCheckResponse, error)

Check mocks base method

func (*MockHealthClient) EXPECT Uses

func (m *MockHealthClient) EXPECT() *MockHealthClientMockRecorder

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

type MockHealthClientMockRecorder Uses

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

MockHealthClientMockRecorder is the mock recorder for MockHealthClient

func (*MockHealthClientMockRecorder) Check Uses

func (mr *MockHealthClientMockRecorder) Check(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Check indicates an expected call of Check

type RPCMsg Uses

type RPCMsg struct {
    Message proto.Message
}

RPCMsg implements the gomock.Matcher interface

func (*RPCMsg) Matches Uses

func (r *RPCMsg) Matches(msg interface{}) bool

Matches return matches message

func (*RPCMsg) String Uses

func (r *RPCMsg) String() string

String return message in string

Package mockgrpc imports 8 packages (graph). Updated 2019-03-30. Refresh now. Tools for package owners.