grpc: google.golang.org/grpc/examples/route_guide/mock_routeguide Index | Files

package mock_routeguide

import "google.golang.org/grpc/examples/route_guide/mock_routeguide"

Index

Package Files

rg_mock.go

type MockRouteGuideClient Uses

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

Mock of RouteGuideClient interface

func NewMockRouteGuideClient Uses

func NewMockRouteGuideClient(ctrl *gomock.Controller) *MockRouteGuideClient

func (*MockRouteGuideClient) EXPECT Uses

func (_m *MockRouteGuideClient) EXPECT() *_MockRouteGuideClientRecorder

func (*MockRouteGuideClient) GetFeature Uses

func (_m *MockRouteGuideClient) GetFeature(_param0 context.Context, _param1 *routeguide.Point, _param2 ...grpc.CallOption) (*routeguide.Feature, error)

func (*MockRouteGuideClient) ListFeatures Uses

func (_m *MockRouteGuideClient) ListFeatures(_param0 context.Context, _param1 *routeguide.Rectangle, _param2 ...grpc.CallOption) (routeguide.RouteGuide_ListFeaturesClient, error)

func (*MockRouteGuideClient) RecordRoute Uses

func (_m *MockRouteGuideClient) RecordRoute(_param0 context.Context, _param1 ...grpc.CallOption) (routeguide.RouteGuide_RecordRouteClient, error)

func (*MockRouteGuideClient) RouteChat Uses

func (_m *MockRouteGuideClient) RouteChat(_param0 context.Context, _param1 ...grpc.CallOption) (routeguide.RouteGuide_RouteChatClient, error)

type MockRouteGuide_RouteChatClient Uses

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

Mock of RouteGuide_RouteChatClient interface

func NewMockRouteGuide_RouteChatClient Uses

func NewMockRouteGuide_RouteChatClient(ctrl *gomock.Controller) *MockRouteGuide_RouteChatClient

func (*MockRouteGuide_RouteChatClient) CloseSend Uses

func (_m *MockRouteGuide_RouteChatClient) CloseSend() error

func (*MockRouteGuide_RouteChatClient) Context Uses

func (_m *MockRouteGuide_RouteChatClient) Context() context.Context

func (*MockRouteGuide_RouteChatClient) EXPECT Uses

func (_m *MockRouteGuide_RouteChatClient) EXPECT() *_MockRouteGuide_RouteChatClientRecorder

func (*MockRouteGuide_RouteChatClient) Header Uses

func (_m *MockRouteGuide_RouteChatClient) Header() (metadata.MD, error)

func (*MockRouteGuide_RouteChatClient) Recv Uses

func (_m *MockRouteGuide_RouteChatClient) Recv() (*routeguide.RouteNote, error)

func (*MockRouteGuide_RouteChatClient) RecvMsg Uses

func (_m *MockRouteGuide_RouteChatClient) RecvMsg(_param0 interface{}) error

func (*MockRouteGuide_RouteChatClient) Send Uses

func (_m *MockRouteGuide_RouteChatClient) Send(_param0 *routeguide.RouteNote) error

func (*MockRouteGuide_RouteChatClient) SendMsg Uses

func (_m *MockRouteGuide_RouteChatClient) SendMsg(_param0 interface{}) error

func (*MockRouteGuide_RouteChatClient) Trailer Uses

func (_m *MockRouteGuide_RouteChatClient) Trailer() metadata.MD

Package mock_routeguide imports 5 packages (graph). Updated 2018-11-15. Refresh now. Tools for package owners.