Documentation
¶
Overview ¶
Package testservicemock is a generated GoMock package.
Package testservicemock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTestServiceClient ¶
type MockTestServiceClient struct {
// contains filtered or unexported fields
}
MockTestServiceClient is a mock of TestServiceClient interface.
func NewMockTestServiceClient ¶
func NewMockTestServiceClient(ctrl *gomock.Controller) *MockTestServiceClient
NewMockTestServiceClient creates a new mock instance.
func (*MockTestServiceClient) EXPECT ¶
func (m *MockTestServiceClient) EXPECT() *MockTestServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTestServiceClient) SendHello ¶
func (m *MockTestServiceClient) SendHello(ctx context.Context, in *testservice.SendHelloRequest, opts ...grpc.CallOption) (*testservice.SendHelloResponse, error)
SendHello mocks base method.
type MockTestServiceClientMockRecorder ¶
type MockTestServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTestServiceClientMockRecorder is the mock recorder for MockTestServiceClient.
type MockTestServiceServer ¶
type MockTestServiceServer struct {
// contains filtered or unexported fields
}
MockTestServiceServer is a mock of TestServiceServer interface.
func NewMockTestServiceServer ¶
func NewMockTestServiceServer(ctrl *gomock.Controller) *MockTestServiceServer
NewMockTestServiceServer creates a new mock instance.
func (*MockTestServiceServer) EXPECT ¶
func (m *MockTestServiceServer) EXPECT() *MockTestServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTestServiceServer) SendHello ¶
func (m *MockTestServiceServer) SendHello(arg0 context.Context, arg1 *testservice.SendHelloRequest) (*testservice.SendHelloResponse, error)
SendHello mocks base method.
type MockTestServiceServerMockRecorder ¶
type MockTestServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTestServiceServerMockRecorder is the mock recorder for MockTestServiceServer.
type MockUnsafeTestServiceServer ¶
type MockUnsafeTestServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeTestServiceServer is a mock of UnsafeTestServiceServer interface.
func NewMockUnsafeTestServiceServer ¶
func NewMockUnsafeTestServiceServer(ctrl *gomock.Controller) *MockUnsafeTestServiceServer
NewMockUnsafeTestServiceServer creates a new mock instance.
func (*MockUnsafeTestServiceServer) EXPECT ¶
func (m *MockUnsafeTestServiceServer) EXPECT() *MockUnsafeTestServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeTestServiceServerMockRecorder ¶
type MockUnsafeTestServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeTestServiceServerMockRecorder is the mock recorder for MockUnsafeTestServiceServer.