mock

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_helloworld is a generated GoMock package.

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
}

MockGreeterClient is a mock of GreeterClient interface

func NewMockGreeterClient

func NewMockGreeterClient(ctrl *gomock.Controller) *MockGreeterClient

NewMockGreeterClient creates a new mock instance

func (*MockGreeterClient) EXPECT

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

func (*MockGreeterClient) SayHello

SayHello mocks base method

type MockGreeterClientMockRecorder

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

MockGreeterClientMockRecorder is the mock recorder for MockGreeterClient

func (*MockGreeterClientMockRecorder) SayHello

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

SayHello indicates an expected call of SayHello

type RPCMsg

type RPCMsg struct {
	Message proto.Message
}

RPCMsg implements the gomock.Matcher interface

func (*RPCMsg) Matches

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

Matches return matches message

func (*RPCMsg) String

func (r *RPCMsg) String() string

String return message in string

Jump to

Keyboard shortcuts

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