Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Dial ¶
func (m *MockInterface) Dial(arg0 string, arg1 ...grpc.DialOption) (*grpc.ClientConn, error)
Dial mocks base method.
func (*MockInterface) DialContext ¶
func (m *MockInterface) DialContext(arg0 context.Context, arg1 string, arg2 ...grpc.DialOption) (*grpc.ClientConn, error)
DialContext mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Dial ¶
func (mr *MockInterfaceMockRecorder) Dial(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Dial indicates an expected call of Dial.
func (*MockInterfaceMockRecorder) DialContext ¶
func (mr *MockInterfaceMockRecorder) DialContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DialContext indicates an expected call of DialContext.
Click to show internal directories.
Click to hide internal directories.