Documentation ¶
Index ¶
- type MockRouteGuideClient
- func (_m *MockRouteGuideClient) EXPECT() *_MockRouteGuideClientRecorder
- func (_m *MockRouteGuideClient) GetFeature(_param0 context.Context, _param1 *routeguide.Point, _param2 ...grpc.CallOption) (*routeguide.Feature, error)
- func (_m *MockRouteGuideClient) ListFeatures(_param0 context.Context, _param1 *routeguide.Rectangle, ...) (routeguide.RouteGuide_ListFeaturesClient, error)
- func (_m *MockRouteGuideClient) RecordRoute(_param0 context.Context, _param1 ...grpc.CallOption) (routeguide.RouteGuide_RecordRouteClient, error)
- func (_m *MockRouteGuideClient) RouteChat(_param0 context.Context, _param1 ...grpc.CallOption) (routeguide.RouteGuide_RouteChatClient, error)
- type MockRouteGuide_RouteChatClient
- func (_m *MockRouteGuide_RouteChatClient) CloseSend() error
- func (_m *MockRouteGuide_RouteChatClient) Context() context.Context
- func (_m *MockRouteGuide_RouteChatClient) EXPECT() *_MockRouteGuide_RouteChatClientRecorder
- func (_m *MockRouteGuide_RouteChatClient) Header() (metadata.MD, error)
- func (_m *MockRouteGuide_RouteChatClient) Recv() (*routeguide.RouteNote, error)
- func (_m *MockRouteGuide_RouteChatClient) RecvMsg(_param0 interface{}) error
- func (_m *MockRouteGuide_RouteChatClient) Send(_param0 *routeguide.RouteNote) error
- func (_m *MockRouteGuide_RouteChatClient) SendMsg(_param0 interface{}) error
- func (_m *MockRouteGuide_RouteChatClient) Trailer() metadata.MD
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRouteGuideClient ¶
type MockRouteGuideClient struct {
// contains filtered or unexported fields
}
Mock of RouteGuideClient interface
func NewMockRouteGuideClient ¶
func NewMockRouteGuideClient(ctrl *gomock.Controller) *MockRouteGuideClient
func (*MockRouteGuideClient) EXPECT ¶
func (_m *MockRouteGuideClient) EXPECT() *_MockRouteGuideClientRecorder
func (*MockRouteGuideClient) GetFeature ¶
func (_m *MockRouteGuideClient) GetFeature(_param0 context.Context, _param1 *routeguide.Point, _param2 ...grpc.CallOption) (*routeguide.Feature, error)
func (*MockRouteGuideClient) ListFeatures ¶
func (_m *MockRouteGuideClient) ListFeatures(_param0 context.Context, _param1 *routeguide.Rectangle, _param2 ...grpc.CallOption) (routeguide.RouteGuide_ListFeaturesClient, error)
func (*MockRouteGuideClient) RecordRoute ¶
func (_m *MockRouteGuideClient) RecordRoute(_param0 context.Context, _param1 ...grpc.CallOption) (routeguide.RouteGuide_RecordRouteClient, error)
func (*MockRouteGuideClient) RouteChat ¶
func (_m *MockRouteGuideClient) RouteChat(_param0 context.Context, _param1 ...grpc.CallOption) (routeguide.RouteGuide_RouteChatClient, error)
type MockRouteGuide_RouteChatClient ¶
type MockRouteGuide_RouteChatClient struct {
// contains filtered or unexported fields
}
Mock of RouteGuide_RouteChatClient interface
func NewMockRouteGuide_RouteChatClient ¶
func NewMockRouteGuide_RouteChatClient(ctrl *gomock.Controller) *MockRouteGuide_RouteChatClient
func (*MockRouteGuide_RouteChatClient) CloseSend ¶
func (_m *MockRouteGuide_RouteChatClient) CloseSend() error
func (*MockRouteGuide_RouteChatClient) Context ¶
func (_m *MockRouteGuide_RouteChatClient) Context() context.Context
func (*MockRouteGuide_RouteChatClient) EXPECT ¶
func (_m *MockRouteGuide_RouteChatClient) EXPECT() *_MockRouteGuide_RouteChatClientRecorder
func (*MockRouteGuide_RouteChatClient) Header ¶
func (_m *MockRouteGuide_RouteChatClient) Header() (metadata.MD, error)
func (*MockRouteGuide_RouteChatClient) Recv ¶
func (_m *MockRouteGuide_RouteChatClient) Recv() (*routeguide.RouteNote, error)
func (*MockRouteGuide_RouteChatClient) RecvMsg ¶
func (_m *MockRouteGuide_RouteChatClient) RecvMsg(_param0 interface{}) error
func (*MockRouteGuide_RouteChatClient) Send ¶
func (_m *MockRouteGuide_RouteChatClient) Send(_param0 *routeguide.RouteNote) error
func (*MockRouteGuide_RouteChatClient) SendMsg ¶
func (_m *MockRouteGuide_RouteChatClient) SendMsg(_param0 interface{}) error
func (*MockRouteGuide_RouteChatClient) Trailer ¶
func (_m *MockRouteGuide_RouteChatClient) Trailer() metadata.MD
Click to show internal directories.
Click to hide internal directories.