mock_routeguide - ActiveState ActiveGo 1.8
...

Package mock_routeguide

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

Overview ▾

Index ▾

type MockRouteGuideClient
    func NewMockRouteGuideClient(ctrl *gomock.Controller) *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, _param2 ...grpc.CallOption) (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 NewMockRouteGuide_RouteChatClient(ctrl *gomock.Controller) *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

Package files

rg_mock.go

type MockRouteGuideClient

Mock of RouteGuideClient interface

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

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

Mock of RouteGuide_RouteChatClient interface

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

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