routeguide

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_route_guide_proto protoreflect.FileDescriptor
View Source
var RouteGuide_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "routeguide.RouteGuide",
	HandlerType: (*RouteGuideServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetFeature",
			Handler:    _RouteGuide_GetFeature_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListFeatures",
			Handler:       _RouteGuide_ListFeatures_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "RecordRoute",
			Handler:       _RouteGuide_RecordRoute_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RouteChat",
			Handler:       _RouteGuide_RouteChat_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "route_guide.proto",
}

RouteGuide_ServiceDesc is the grpc.ServiceDesc for RouteGuide service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func AnyMetadataMD

func AnyMetadataMD() metadata.MD

func EqMetadataMD

func EqMetadataMD(value metadata.MD) metadata.MD

func MetadataMDThat

func MetadataMDThat(matcher pegomock.ArgumentMatcher) metadata.MD

func NotEqMetadataMD

func NotEqMetadataMD(value metadata.MD) metadata.MD

func RegisterRouteGuideServer

func RegisterRouteGuideServer(s grpc.ServiceRegistrar, srv RouteGuideServer)

Types

type Feature

type Feature struct {

	// The name of the feature.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The point where the feature is detected.
	Location *Point `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

A feature names something at a given point.

If a feature could not be named, the name is empty.

func AnyPtrToRouteguideFeature

func AnyPtrToRouteguideFeature() *Feature

func EqPtrToRouteguideFeature

func EqPtrToRouteguideFeature(value *Feature) *Feature

func NotEqPtrToRouteguideFeature

func NotEqPtrToRouteguideFeature(value *Feature) *Feature

func PtrToRouteguideFeatureThat

func PtrToRouteguideFeatureThat(matcher pegomock.ArgumentMatcher) *Feature

func (*Feature) Descriptor deprecated

func (*Feature) Descriptor() ([]byte, []int)

Deprecated: Use Feature.ProtoReflect.Descriptor instead.

func (*Feature) GetLocation

func (x *Feature) GetLocation() *Point

func (*Feature) GetName

func (x *Feature) GetName() string

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) ProtoReflect

func (x *Feature) ProtoReflect() protoreflect.Message

func (*Feature) Reset

func (x *Feature) Reset()

func (*Feature) String

func (x *Feature) String() string

type MockRouteGuideClient

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

func NewMockRouteGuideClient

func NewMockRouteGuideClient(options ...pegomock.Option) *MockRouteGuideClient

func (*MockRouteGuideClient) FailHandler

func (mock *MockRouteGuideClient) FailHandler() pegomock.FailHandler

func (*MockRouteGuideClient) GetFeature

func (mock *MockRouteGuideClient) GetFeature(ctx context.Context, in *Point, opts ...grpc.CallOption) (*Feature, error)

func (*MockRouteGuideClient) ListFeatures

func (*MockRouteGuideClient) RecordRoute

func (*MockRouteGuideClient) RouteChat

func (*MockRouteGuideClient) SetFailHandler

func (mock *MockRouteGuideClient) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuideClient) VerifyWasCalled

func (mock *MockRouteGuideClient) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockRouteGuideClient

func (*MockRouteGuideClient) VerifyWasCalledEventually

func (mock *MockRouteGuideClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuideClient

func (*MockRouteGuideClient) VerifyWasCalledInOrder

func (mock *MockRouteGuideClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuideClient

func (*MockRouteGuideClient) VerifyWasCalledOnce

func (mock *MockRouteGuideClient) VerifyWasCalledOnce() *VerifierMockRouteGuideClient

type MockRouteGuideClient_GetFeature_OngoingVerification

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

func (*MockRouteGuideClient_GetFeature_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuideClient_GetFeature_OngoingVerification) GetAllCapturedArguments() (_param0 []context.Context, _param1 []*Point, _param2 [][]grpc.CallOption)

func (*MockRouteGuideClient_GetFeature_OngoingVerification) GetCapturedArguments

type MockRouteGuideClient_ListFeatures_OngoingVerification

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

func (*MockRouteGuideClient_ListFeatures_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuideClient_ListFeatures_OngoingVerification) GetAllCapturedArguments() (_param0 []context.Context, _param1 []*Rectangle, _param2 [][]grpc.CallOption)

func (*MockRouteGuideClient_ListFeatures_OngoingVerification) GetCapturedArguments

type MockRouteGuideClient_RecordRoute_OngoingVerification

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

func (*MockRouteGuideClient_RecordRoute_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuideClient_RecordRoute_OngoingVerification) GetAllCapturedArguments() (_param0 []context.Context, _param1 [][]grpc.CallOption)

func (*MockRouteGuideClient_RecordRoute_OngoingVerification) GetCapturedArguments

type MockRouteGuideClient_RouteChat_OngoingVerification

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

func (*MockRouteGuideClient_RouteChat_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuideClient_RouteChat_OngoingVerification) GetAllCapturedArguments() (_param0 []context.Context, _param1 [][]grpc.CallOption)

func (*MockRouteGuideClient_RouteChat_OngoingVerification) GetCapturedArguments

type MockRouteGuideServer

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

func NewMockRouteGuideServer

func NewMockRouteGuideServer(options ...pegomock.Option) *MockRouteGuideServer

func (*MockRouteGuideServer) FailHandler

func (mock *MockRouteGuideServer) FailHandler() pegomock.FailHandler

func (*MockRouteGuideServer) GetFeature

func (mock *MockRouteGuideServer) GetFeature(ctx context.Context, in *Point) (*Feature, error)

func (*MockRouteGuideServer) ListFeatures

func (*MockRouteGuideServer) RecordRoute

func (*MockRouteGuideServer) RouteChat

func (*MockRouteGuideServer) SetFailHandler

func (mock *MockRouteGuideServer) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuideServer) VerifyWasCalled

func (mock *MockRouteGuideServer) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockRouteGuideServer

func (*MockRouteGuideServer) VerifyWasCalledEventually

func (mock *MockRouteGuideServer) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuideServer

func (*MockRouteGuideServer) VerifyWasCalledInOrder

func (mock *MockRouteGuideServer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuideServer

func (*MockRouteGuideServer) VerifyWasCalledOnce

func (mock *MockRouteGuideServer) VerifyWasCalledOnce() *VerifierMockRouteGuideServer

type MockRouteGuideServer_GetFeature_OngoingVerification

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

func (*MockRouteGuideServer_GetFeature_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuideServer_GetFeature_OngoingVerification) GetAllCapturedArguments() (_param0 []context.Context, _param1 []*Point)

func (*MockRouteGuideServer_GetFeature_OngoingVerification) GetCapturedArguments

type MockRouteGuideServer_ListFeatures_OngoingVerification

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

func (*MockRouteGuideServer_ListFeatures_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuideServer_ListFeatures_OngoingVerification) GetAllCapturedArguments() (_param0 []*Rectangle, _param1 []RouteGuide_ListFeaturesServer)

func (*MockRouteGuideServer_ListFeatures_OngoingVerification) GetCapturedArguments

type MockRouteGuideServer_RecordRoute_OngoingVerification

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

func (*MockRouteGuideServer_RecordRoute_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuideServer_RecordRoute_OngoingVerification) GetCapturedArguments

type MockRouteGuideServer_RouteChat_OngoingVerification

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

func (*MockRouteGuideServer_RouteChat_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuideServer_RouteChat_OngoingVerification) GetAllCapturedArguments() (_param0 []RouteGuide_RouteChatServer)

func (*MockRouteGuideServer_RouteChat_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesClient

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

func NewMockRouteGuide_ListFeaturesClient

func NewMockRouteGuide_ListFeaturesClient(options ...pegomock.Option) *MockRouteGuide_ListFeaturesClient

func (*MockRouteGuide_ListFeaturesClient) CloseSend

func (mock *MockRouteGuide_ListFeaturesClient) CloseSend() error

func (*MockRouteGuide_ListFeaturesClient) Context

func (*MockRouteGuide_ListFeaturesClient) FailHandler

func (*MockRouteGuide_ListFeaturesClient) Header

func (*MockRouteGuide_ListFeaturesClient) Recv

func (*MockRouteGuide_ListFeaturesClient) RecvMsg

func (mock *MockRouteGuide_ListFeaturesClient) RecvMsg(msg interface{}) error

func (*MockRouteGuide_ListFeaturesClient) SendMsg

func (mock *MockRouteGuide_ListFeaturesClient) SendMsg(msg interface{}) error

func (*MockRouteGuide_ListFeaturesClient) SetFailHandler

func (mock *MockRouteGuide_ListFeaturesClient) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuide_ListFeaturesClient) Trailer

func (*MockRouteGuide_ListFeaturesClient) VerifyWasCalled

func (*MockRouteGuide_ListFeaturesClient) VerifyWasCalledEventually

func (mock *MockRouteGuide_ListFeaturesClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuide_ListFeaturesClient

func (*MockRouteGuide_ListFeaturesClient) VerifyWasCalledInOrder

func (mock *MockRouteGuide_ListFeaturesClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuide_ListFeaturesClient

func (*MockRouteGuide_ListFeaturesClient) VerifyWasCalledOnce

type MockRouteGuide_ListFeaturesClient_CloseSend_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesClient_CloseSend_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_ListFeaturesClient_CloseSend_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesClient_Context_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesClient_Context_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_ListFeaturesClient_Context_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesClient_Header_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesClient_Header_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_ListFeaturesClient_Header_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesClient_RecvMsg_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesClient_RecvMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesClient_RecvMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_ListFeaturesClient_RecvMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_ListFeaturesClient_RecvMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_ListFeaturesClient_Recv_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesClient_Recv_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_ListFeaturesClient_Recv_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesClient_SendMsg_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesClient_SendMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesClient_SendMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_ListFeaturesClient_SendMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_ListFeaturesClient_SendMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_ListFeaturesClient_Trailer_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesClient_Trailer_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_ListFeaturesClient_Trailer_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesServer

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

func NewMockRouteGuide_ListFeaturesServer

func NewMockRouteGuide_ListFeaturesServer(options ...pegomock.Option) *MockRouteGuide_ListFeaturesServer

func (*MockRouteGuide_ListFeaturesServer) Context

func (*MockRouteGuide_ListFeaturesServer) FailHandler

func (*MockRouteGuide_ListFeaturesServer) RecvMsg

func (mock *MockRouteGuide_ListFeaturesServer) RecvMsg(m interface{}) error

func (*MockRouteGuide_ListFeaturesServer) Send

func (*MockRouteGuide_ListFeaturesServer) SendHeader

func (mock *MockRouteGuide_ListFeaturesServer) SendHeader(md metadata.MD) error

func (*MockRouteGuide_ListFeaturesServer) SendMsg

func (mock *MockRouteGuide_ListFeaturesServer) SendMsg(m interface{}) error

func (*MockRouteGuide_ListFeaturesServer) SetFailHandler

func (mock *MockRouteGuide_ListFeaturesServer) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuide_ListFeaturesServer) SetHeader

func (mock *MockRouteGuide_ListFeaturesServer) SetHeader(md metadata.MD) error

func (*MockRouteGuide_ListFeaturesServer) SetTrailer

func (mock *MockRouteGuide_ListFeaturesServer) SetTrailer(md metadata.MD)

func (*MockRouteGuide_ListFeaturesServer) VerifyWasCalled

func (*MockRouteGuide_ListFeaturesServer) VerifyWasCalledEventually

func (mock *MockRouteGuide_ListFeaturesServer) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuide_ListFeaturesServer

func (*MockRouteGuide_ListFeaturesServer) VerifyWasCalledInOrder

func (mock *MockRouteGuide_ListFeaturesServer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuide_ListFeaturesServer

func (*MockRouteGuide_ListFeaturesServer) VerifyWasCalledOnce

type MockRouteGuide_ListFeaturesServer_Context_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesServer_Context_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_ListFeaturesServer_Context_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesServer_RecvMsg_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesServer_RecvMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_RecvMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_ListFeaturesServer_RecvMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_RecvMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_ListFeaturesServer_SendHeader_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesServer_SendHeader_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_SendHeader_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_ListFeaturesServer_SendHeader_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesServer_SendMsg_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesServer_SendMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_SendMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_ListFeaturesServer_SendMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_SendMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_ListFeaturesServer_Send_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesServer_Send_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []*Feature)

func (*MockRouteGuide_ListFeaturesServer_Send_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesServer_SetHeader_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesServer_SetHeader_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_SetHeader_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_ListFeaturesServer_SetHeader_OngoingVerification) GetCapturedArguments

type MockRouteGuide_ListFeaturesServer_SetTrailer_OngoingVerification

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

func (*MockRouteGuide_ListFeaturesServer_SetTrailer_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_ListFeaturesServer_SetTrailer_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_ListFeaturesServer_SetTrailer_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteClient

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

func NewMockRouteGuide_RecordRouteClient

func NewMockRouteGuide_RecordRouteClient(options ...pegomock.Option) *MockRouteGuide_RecordRouteClient

func (*MockRouteGuide_RecordRouteClient) CloseAndRecv

func (mock *MockRouteGuide_RecordRouteClient) CloseAndRecv() (*RouteSummary, error)

func (*MockRouteGuide_RecordRouteClient) CloseSend

func (mock *MockRouteGuide_RecordRouteClient) CloseSend() error

func (*MockRouteGuide_RecordRouteClient) Context

func (*MockRouteGuide_RecordRouteClient) FailHandler

func (*MockRouteGuide_RecordRouteClient) Header

func (*MockRouteGuide_RecordRouteClient) RecvMsg

func (mock *MockRouteGuide_RecordRouteClient) RecvMsg(msg interface{}) error

func (*MockRouteGuide_RecordRouteClient) Send

func (*MockRouteGuide_RecordRouteClient) SendMsg

func (mock *MockRouteGuide_RecordRouteClient) SendMsg(msg interface{}) error

func (*MockRouteGuide_RecordRouteClient) SetFailHandler

func (mock *MockRouteGuide_RecordRouteClient) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuide_RecordRouteClient) Trailer

func (*MockRouteGuide_RecordRouteClient) VerifyWasCalled

func (*MockRouteGuide_RecordRouteClient) VerifyWasCalledEventually

func (mock *MockRouteGuide_RecordRouteClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuide_RecordRouteClient

func (*MockRouteGuide_RecordRouteClient) VerifyWasCalledInOrder

func (mock *MockRouteGuide_RecordRouteClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuide_RecordRouteClient

func (*MockRouteGuide_RecordRouteClient) VerifyWasCalledOnce

type MockRouteGuide_RecordRouteClient_CloseAndRecv_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_CloseAndRecv_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RecordRouteClient_CloseAndRecv_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteClient_CloseSend_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_CloseSend_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RecordRouteClient_CloseSend_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteClient_Context_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_Context_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RecordRouteClient_Context_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteClient_Header_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_Header_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RecordRouteClient_Header_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteClient_RecvMsg_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_RecvMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteClient_RecvMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RecordRouteClient_RecvMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RecordRouteClient_RecvMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RecordRouteClient_SendMsg_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_SendMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteClient_SendMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RecordRouteClient_SendMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RecordRouteClient_SendMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RecordRouteClient_Send_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_Send_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteClient_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []*Point)

func (*MockRouteGuide_RecordRouteClient_Send_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteClient_Trailer_OngoingVerification

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

func (*MockRouteGuide_RecordRouteClient_Trailer_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RecordRouteClient_Trailer_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteServer

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

func NewMockRouteGuide_RecordRouteServer

func NewMockRouteGuide_RecordRouteServer(options ...pegomock.Option) *MockRouteGuide_RecordRouteServer

func (*MockRouteGuide_RecordRouteServer) Context

func (*MockRouteGuide_RecordRouteServer) FailHandler

func (*MockRouteGuide_RecordRouteServer) Recv

func (mock *MockRouteGuide_RecordRouteServer) Recv() (*Point, error)

func (*MockRouteGuide_RecordRouteServer) RecvMsg

func (mock *MockRouteGuide_RecordRouteServer) RecvMsg(m interface{}) error

func (*MockRouteGuide_RecordRouteServer) SendAndClose

func (mock *MockRouteGuide_RecordRouteServer) SendAndClose(m *RouteSummary) error

func (*MockRouteGuide_RecordRouteServer) SendHeader

func (mock *MockRouteGuide_RecordRouteServer) SendHeader(md metadata.MD) error

func (*MockRouteGuide_RecordRouteServer) SendMsg

func (mock *MockRouteGuide_RecordRouteServer) SendMsg(m interface{}) error

func (*MockRouteGuide_RecordRouteServer) SetFailHandler

func (mock *MockRouteGuide_RecordRouteServer) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuide_RecordRouteServer) SetHeader

func (mock *MockRouteGuide_RecordRouteServer) SetHeader(md metadata.MD) error

func (*MockRouteGuide_RecordRouteServer) SetTrailer

func (mock *MockRouteGuide_RecordRouteServer) SetTrailer(md metadata.MD)

func (*MockRouteGuide_RecordRouteServer) VerifyWasCalled

func (*MockRouteGuide_RecordRouteServer) VerifyWasCalledEventually

func (mock *MockRouteGuide_RecordRouteServer) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuide_RecordRouteServer

func (*MockRouteGuide_RecordRouteServer) VerifyWasCalledInOrder

func (mock *MockRouteGuide_RecordRouteServer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuide_RecordRouteServer

func (*MockRouteGuide_RecordRouteServer) VerifyWasCalledOnce

type MockRouteGuide_RecordRouteServer_Context_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_Context_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RecordRouteServer_Context_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteServer_RecvMsg_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_RecvMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_RecvMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RecordRouteServer_RecvMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_RecvMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RecordRouteServer_Recv_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_Recv_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_Recv_OngoingVerification) GetAllCapturedArguments()

func (*MockRouteGuide_RecordRouteServer_Recv_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteServer_SendAndClose_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_SendAndClose_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_SendAndClose_OngoingVerification) GetAllCapturedArguments() (_param0 []*RouteSummary)

func (*MockRouteGuide_RecordRouteServer_SendAndClose_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteServer_SendHeader_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_SendHeader_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_SendHeader_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_RecordRouteServer_SendHeader_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteServer_SendMsg_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_SendMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_SendMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RecordRouteServer_SendMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_SendMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RecordRouteServer_SetHeader_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_SetHeader_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_SetHeader_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_RecordRouteServer_SetHeader_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RecordRouteServer_SetTrailer_OngoingVerification

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

func (*MockRouteGuide_RecordRouteServer_SetTrailer_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RecordRouteServer_SetTrailer_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_RecordRouteServer_SetTrailer_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatClient

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

func NewMockRouteGuide_RouteChatClient

func NewMockRouteGuide_RouteChatClient(options ...pegomock.Option) *MockRouteGuide_RouteChatClient

func (*MockRouteGuide_RouteChatClient) CloseSend

func (mock *MockRouteGuide_RouteChatClient) CloseSend() error

func (*MockRouteGuide_RouteChatClient) Context

func (*MockRouteGuide_RouteChatClient) FailHandler

func (*MockRouteGuide_RouteChatClient) Header

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

func (*MockRouteGuide_RouteChatClient) Recv

func (*MockRouteGuide_RouteChatClient) RecvMsg

func (mock *MockRouteGuide_RouteChatClient) RecvMsg(msg interface{}) error

func (*MockRouteGuide_RouteChatClient) Send

func (*MockRouteGuide_RouteChatClient) SendMsg

func (mock *MockRouteGuide_RouteChatClient) SendMsg(msg interface{}) error

func (*MockRouteGuide_RouteChatClient) SetFailHandler

func (mock *MockRouteGuide_RouteChatClient) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuide_RouteChatClient) Trailer

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

func (*MockRouteGuide_RouteChatClient) VerifyWasCalled

func (*MockRouteGuide_RouteChatClient) VerifyWasCalledEventually

func (mock *MockRouteGuide_RouteChatClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuide_RouteChatClient

func (*MockRouteGuide_RouteChatClient) VerifyWasCalledInOrder

func (mock *MockRouteGuide_RouteChatClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuide_RouteChatClient

func (*MockRouteGuide_RouteChatClient) VerifyWasCalledOnce

type MockRouteGuide_RouteChatClient_CloseSend_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_CloseSend_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RouteChatClient_CloseSend_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatClient_Context_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_Context_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RouteChatClient_Context_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatClient_Header_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_Header_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatClient_Header_OngoingVerification) GetAllCapturedArguments()

func (*MockRouteGuide_RouteChatClient_Header_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatClient_RecvMsg_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_RecvMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatClient_RecvMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RouteChatClient_RecvMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RouteChatClient_RecvMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RouteChatClient_Recv_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_Recv_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatClient_Recv_OngoingVerification) GetAllCapturedArguments()

func (*MockRouteGuide_RouteChatClient_Recv_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatClient_SendMsg_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_SendMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatClient_SendMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RouteChatClient_SendMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RouteChatClient_SendMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RouteChatClient_Send_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_Send_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatClient_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []*RouteNote)

func (*MockRouteGuide_RouteChatClient_Send_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatClient_Trailer_OngoingVerification

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

func (*MockRouteGuide_RouteChatClient_Trailer_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RouteChatClient_Trailer_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatServer

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

func NewMockRouteGuide_RouteChatServer

func NewMockRouteGuide_RouteChatServer(options ...pegomock.Option) *MockRouteGuide_RouteChatServer

func (*MockRouteGuide_RouteChatServer) Context

func (*MockRouteGuide_RouteChatServer) FailHandler

func (*MockRouteGuide_RouteChatServer) Recv

func (*MockRouteGuide_RouteChatServer) RecvMsg

func (mock *MockRouteGuide_RouteChatServer) RecvMsg(m interface{}) error

func (*MockRouteGuide_RouteChatServer) Send

func (*MockRouteGuide_RouteChatServer) SendHeader

func (mock *MockRouteGuide_RouteChatServer) SendHeader(md metadata.MD) error

func (*MockRouteGuide_RouteChatServer) SendMsg

func (mock *MockRouteGuide_RouteChatServer) SendMsg(m interface{}) error

func (*MockRouteGuide_RouteChatServer) SetFailHandler

func (mock *MockRouteGuide_RouteChatServer) SetFailHandler(fh pegomock.FailHandler)

func (*MockRouteGuide_RouteChatServer) SetHeader

func (mock *MockRouteGuide_RouteChatServer) SetHeader(md metadata.MD) error

func (*MockRouteGuide_RouteChatServer) SetTrailer

func (mock *MockRouteGuide_RouteChatServer) SetTrailer(md metadata.MD)

func (*MockRouteGuide_RouteChatServer) VerifyWasCalled

func (*MockRouteGuide_RouteChatServer) VerifyWasCalledEventually

func (mock *MockRouteGuide_RouteChatServer) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRouteGuide_RouteChatServer

func (*MockRouteGuide_RouteChatServer) VerifyWasCalledInOrder

func (mock *MockRouteGuide_RouteChatServer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRouteGuide_RouteChatServer

func (*MockRouteGuide_RouteChatServer) VerifyWasCalledOnce

type MockRouteGuide_RouteChatServer_Context_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_Context_OngoingVerification) GetAllCapturedArguments

func (*MockRouteGuide_RouteChatServer_Context_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatServer_RecvMsg_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_RecvMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatServer_RecvMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RouteChatServer_RecvMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RouteChatServer_RecvMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RouteChatServer_Recv_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_Recv_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatServer_Recv_OngoingVerification) GetAllCapturedArguments()

func (*MockRouteGuide_RouteChatServer_Recv_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatServer_SendHeader_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_SendHeader_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatServer_SendHeader_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_RouteChatServer_SendHeader_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatServer_SendMsg_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_SendMsg_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatServer_SendMsg_OngoingVerification) GetAllCapturedArguments() (_param0 []interface{})

func (*MockRouteGuide_RouteChatServer_SendMsg_OngoingVerification) GetCapturedArguments

func (c *MockRouteGuide_RouteChatServer_SendMsg_OngoingVerification) GetCapturedArguments() interface{}

type MockRouteGuide_RouteChatServer_Send_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_Send_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatServer_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []*RouteNote)

func (*MockRouteGuide_RouteChatServer_Send_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatServer_SetHeader_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_SetHeader_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatServer_SetHeader_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_RouteChatServer_SetHeader_OngoingVerification) GetCapturedArguments

type MockRouteGuide_RouteChatServer_SetTrailer_OngoingVerification

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

func (*MockRouteGuide_RouteChatServer_SetTrailer_OngoingVerification) GetAllCapturedArguments

func (c *MockRouteGuide_RouteChatServer_SetTrailer_OngoingVerification) GetAllCapturedArguments() (_param0 []metadata.MD)

func (*MockRouteGuide_RouteChatServer_SetTrailer_OngoingVerification) GetCapturedArguments

type Point

type Point struct {
	Latitude  int32 `protobuf:"varint,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude int32 `protobuf:"varint,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

Points are represented as latitude-longitude pairs in the E7 representation (degrees multiplied by 10**7 and rounded to the nearest integer). Latitudes should be in the range +/- 90 degrees and longitude should be in the range +/- 180 degrees (inclusive).

func AnyPtrToRouteguidePoint

func AnyPtrToRouteguidePoint() *Point

func EqPtrToRouteguidePoint

func EqPtrToRouteguidePoint(value *Point) *Point

func NotEqPtrToRouteguidePoint

func NotEqPtrToRouteguidePoint(value *Point) *Point

func PtrToRouteguidePointThat

func PtrToRouteguidePointThat(matcher pegomock.ArgumentMatcher) *Point

func (*Point) Descriptor deprecated

func (*Point) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLatitude

func (x *Point) GetLatitude() int32

func (*Point) GetLongitude

func (x *Point) GetLongitude() int32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type Rectangle

type Rectangle struct {

	// One corner of the rectangle.
	Lo *Point `protobuf:"bytes,1,opt,name=lo,proto3" json:"lo,omitempty"`
	// The other corner of the rectangle.
	Hi *Point `protobuf:"bytes,2,opt,name=hi,proto3" json:"hi,omitempty"`
	// contains filtered or unexported fields
}

A latitude-longitude rectangle, represented as two diagonally opposite points "lo" and "hi".

func AnyPtrToRouteguideRectangle

func AnyPtrToRouteguideRectangle() *Rectangle

func EqPtrToRouteguideRectangle

func EqPtrToRouteguideRectangle(value *Rectangle) *Rectangle

func NotEqPtrToRouteguideRectangle

func NotEqPtrToRouteguideRectangle(value *Rectangle) *Rectangle

func PtrToRouteguideRectangleThat

func PtrToRouteguideRectangleThat(matcher pegomock.ArgumentMatcher) *Rectangle

func (*Rectangle) Descriptor deprecated

func (*Rectangle) Descriptor() ([]byte, []int)

Deprecated: Use Rectangle.ProtoReflect.Descriptor instead.

func (*Rectangle) GetHi

func (x *Rectangle) GetHi() *Point

func (*Rectangle) GetLo

func (x *Rectangle) GetLo() *Point

func (*Rectangle) ProtoMessage

func (*Rectangle) ProtoMessage()

func (*Rectangle) ProtoReflect

func (x *Rectangle) ProtoReflect() protoreflect.Message

func (*Rectangle) Reset

func (x *Rectangle) Reset()

func (*Rectangle) String

func (x *Rectangle) String() string

type RouteGuideClient

type RouteGuideClient interface {
	// A simple RPC.
	//
	// Obtains the feature at a given position.
	//
	// A feature with an empty name is returned if there's no feature at the given
	// position.
	GetFeature(ctx context.Context, in *Point, opts ...grpc.CallOption) (*Feature, error)
	// A server-to-client streaming RPC.
	//
	// Obtains the Features available within the given Rectangle.  Results are
	// streamed rather than returned at once (e.g. in a response message with a
	// repeated field), as the rectangle may cover a large area and contain a
	// huge number of features.
	ListFeatures(ctx context.Context, in *Rectangle, opts ...grpc.CallOption) (RouteGuide_ListFeaturesClient, error)
	// A client-to-server streaming RPC.
	//
	// Accepts a stream of Points on a route being traversed, returning a
	// RouteSummary when traversal is completed.
	RecordRoute(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RecordRouteClient, error)
	// A Bidirectional streaming RPC.
	//
	// Accepts a stream of RouteNotes sent while a route is being traversed,
	// while receiving other RouteNotes (e.g. from other users).
	RouteChat(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RouteChatClient, error)
}

RouteGuideClient is the client API for RouteGuide service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRouteGuideClient

func NewRouteGuideClient(cc grpc.ClientConnInterface) RouteGuideClient

type RouteGuideServer

type RouteGuideServer interface {
	// A simple RPC.
	//
	// Obtains the feature at a given position.
	//
	// A feature with an empty name is returned if there's no feature at the given
	// position.
	GetFeature(context.Context, *Point) (*Feature, error)
	// A server-to-client streaming RPC.
	//
	// Obtains the Features available within the given Rectangle.  Results are
	// streamed rather than returned at once (e.g. in a response message with a
	// repeated field), as the rectangle may cover a large area and contain a
	// huge number of features.
	ListFeatures(*Rectangle, RouteGuide_ListFeaturesServer) error
	// A client-to-server streaming RPC.
	//
	// Accepts a stream of Points on a route being traversed, returning a
	// RouteSummary when traversal is completed.
	RecordRoute(RouteGuide_RecordRouteServer) error
	// A Bidirectional streaming RPC.
	//
	// Accepts a stream of RouteNotes sent while a route is being traversed,
	// while receiving other RouteNotes (e.g. from other users).
	RouteChat(RouteGuide_RouteChatServer) error
	// contains filtered or unexported methods
}

RouteGuideServer is the server API for RouteGuide service. All implementations must embed UnimplementedRouteGuideServer for forward compatibility

type RouteGuide_ListFeaturesClient

type RouteGuide_ListFeaturesClient interface {
	Recv() (*Feature, error)
	grpc.ClientStream
}

func AnyRouteguideRouteGuideListFeaturesClient

func AnyRouteguideRouteGuideListFeaturesClient() RouteGuide_ListFeaturesClient

func RouteguideRouteGuideListFeaturesClientThat

func RouteguideRouteGuideListFeaturesClientThat(matcher pegomock.ArgumentMatcher) RouteGuide_ListFeaturesClient

type RouteGuide_ListFeaturesServer

type RouteGuide_ListFeaturesServer interface {
	Send(*Feature) error
	grpc.ServerStream
}

func AnyRouteguideRouteGuideListFeaturesServer

func AnyRouteguideRouteGuideListFeaturesServer() RouteGuide_ListFeaturesServer

func RouteguideRouteGuideListFeaturesServerThat

func RouteguideRouteGuideListFeaturesServerThat(matcher pegomock.ArgumentMatcher) RouteGuide_ListFeaturesServer

type RouteGuide_RecordRouteClient

type RouteGuide_RecordRouteClient interface {
	Send(*Point) error
	CloseAndRecv() (*RouteSummary, error)
	grpc.ClientStream
}

func AnyRouteguideRouteGuideRecordRouteClient

func AnyRouteguideRouteGuideRecordRouteClient() RouteGuide_RecordRouteClient

func RouteguideRouteGuideRecordRouteClientThat

func RouteguideRouteGuideRecordRouteClientThat(matcher pegomock.ArgumentMatcher) RouteGuide_RecordRouteClient

type RouteGuide_RecordRouteServer

type RouteGuide_RecordRouteServer interface {
	SendAndClose(*RouteSummary) error
	Recv() (*Point, error)
	grpc.ServerStream
}

func AnyRouteguideRouteGuideRecordRouteServer

func AnyRouteguideRouteGuideRecordRouteServer() RouteGuide_RecordRouteServer

func RouteguideRouteGuideRecordRouteServerThat

func RouteguideRouteGuideRecordRouteServerThat(matcher pegomock.ArgumentMatcher) RouteGuide_RecordRouteServer

type RouteGuide_RouteChatClient

type RouteGuide_RouteChatClient interface {
	Send(*RouteNote) error
	Recv() (*RouteNote, error)
	grpc.ClientStream
}

func AnyRouteguideRouteGuideRouteChatClient

func AnyRouteguideRouteGuideRouteChatClient() RouteGuide_RouteChatClient

func NotEqRouteguideRouteGuideRouteChatClient

func NotEqRouteguideRouteGuideRouteChatClient(value RouteGuide_RouteChatClient) RouteGuide_RouteChatClient

func RouteguideRouteGuideRouteChatClientThat

func RouteguideRouteGuideRouteChatClientThat(matcher pegomock.ArgumentMatcher) RouteGuide_RouteChatClient

type RouteGuide_RouteChatServer

type RouteGuide_RouteChatServer interface {
	Send(*RouteNote) error
	Recv() (*RouteNote, error)
	grpc.ServerStream
}

func AnyRouteguideRouteGuideRouteChatServer

func AnyRouteguideRouteGuideRouteChatServer() RouteGuide_RouteChatServer

func NotEqRouteguideRouteGuideRouteChatServer

func NotEqRouteguideRouteGuideRouteChatServer(value RouteGuide_RouteChatServer) RouteGuide_RouteChatServer

func RouteguideRouteGuideRouteChatServerThat

func RouteguideRouteGuideRouteChatServerThat(matcher pegomock.ArgumentMatcher) RouteGuide_RouteChatServer

type RouteNote

type RouteNote struct {

	// The location from which the message is sent.
	Location *Point `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// The message to be sent.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

A RouteNote is a message sent while at a given point.

func AnyPtrToRouteguideRouteNote

func AnyPtrToRouteguideRouteNote() *RouteNote

func EqPtrToRouteguideRouteNote

func EqPtrToRouteguideRouteNote(value *RouteNote) *RouteNote

func NotEqPtrToRouteguideRouteNote

func NotEqPtrToRouteguideRouteNote(value *RouteNote) *RouteNote

func PtrToRouteguideRouteNoteThat

func PtrToRouteguideRouteNoteThat(matcher pegomock.ArgumentMatcher) *RouteNote

func (*RouteNote) Descriptor deprecated

func (*RouteNote) Descriptor() ([]byte, []int)

Deprecated: Use RouteNote.ProtoReflect.Descriptor instead.

func (*RouteNote) GetLocation

func (x *RouteNote) GetLocation() *Point

func (*RouteNote) GetMessage

func (x *RouteNote) GetMessage() string

func (*RouteNote) ProtoMessage

func (*RouteNote) ProtoMessage()

func (*RouteNote) ProtoReflect

func (x *RouteNote) ProtoReflect() protoreflect.Message

func (*RouteNote) Reset

func (x *RouteNote) Reset()

func (*RouteNote) String

func (x *RouteNote) String() string

type RouteSummary

type RouteSummary struct {

	// The number of points received.
	PointCount int32 `protobuf:"varint,1,opt,name=point_count,json=pointCount,proto3" json:"point_count,omitempty"`
	// The number of known features passed while traversing the route.
	FeatureCount int32 `protobuf:"varint,2,opt,name=feature_count,json=featureCount,proto3" json:"feature_count,omitempty"`
	// The distance covered in metres.
	Distance int32 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"`
	// The duration of the traversal in seconds.
	ElapsedTime int32 `protobuf:"varint,4,opt,name=elapsed_time,json=elapsedTime,proto3" json:"elapsed_time,omitempty"`
	// contains filtered or unexported fields
}

A RouteSummary is received in response to a RecordRoute rpc.

It contains the number of individual points received, the number of detected features, and the total distance covered as the cumulative sum of the distance between each point.

func AnyPtrToRouteguideRouteSummary

func AnyPtrToRouteguideRouteSummary() *RouteSummary

func EqPtrToRouteguideRouteSummary

func EqPtrToRouteguideRouteSummary(value *RouteSummary) *RouteSummary

func NotEqPtrToRouteguideRouteSummary

func NotEqPtrToRouteguideRouteSummary(value *RouteSummary) *RouteSummary

func PtrToRouteguideRouteSummaryThat

func PtrToRouteguideRouteSummaryThat(matcher pegomock.ArgumentMatcher) *RouteSummary

func (*RouteSummary) Descriptor deprecated

func (*RouteSummary) Descriptor() ([]byte, []int)

Deprecated: Use RouteSummary.ProtoReflect.Descriptor instead.

func (*RouteSummary) GetDistance

func (x *RouteSummary) GetDistance() int32

func (*RouteSummary) GetElapsedTime

func (x *RouteSummary) GetElapsedTime() int32

func (*RouteSummary) GetFeatureCount

func (x *RouteSummary) GetFeatureCount() int32

func (*RouteSummary) GetPointCount

func (x *RouteSummary) GetPointCount() int32

func (*RouteSummary) ProtoMessage

func (*RouteSummary) ProtoMessage()

func (*RouteSummary) ProtoReflect

func (x *RouteSummary) ProtoReflect() protoreflect.Message

func (*RouteSummary) Reset

func (x *RouteSummary) Reset()

func (*RouteSummary) String

func (x *RouteSummary) String() string

type UnimplementedRouteGuideServer

type UnimplementedRouteGuideServer struct {
}

UnimplementedRouteGuideServer must be embedded to have forward compatible implementations.

func (UnimplementedRouteGuideServer) GetFeature

func (UnimplementedRouteGuideServer) ListFeatures

func (UnimplementedRouteGuideServer) RecordRoute

func (UnimplementedRouteGuideServer) RouteChat

type UnsafeRouteGuideServer

type UnsafeRouteGuideServer interface {
	// contains filtered or unexported methods
}

UnsafeRouteGuideServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RouteGuideServer will result in compilation errors.

type VerifierMockRouteGuideClient

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

func (*VerifierMockRouteGuideClient) GetFeature

func (*VerifierMockRouteGuideClient) ListFeatures

func (*VerifierMockRouteGuideClient) RecordRoute

func (*VerifierMockRouteGuideClient) RouteChat

type VerifierMockRouteGuideServer

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

func (*VerifierMockRouteGuideServer) GetFeature

type VerifierMockRouteGuide_ListFeaturesClient

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

func (*VerifierMockRouteGuide_ListFeaturesClient) CloseSend

func (*VerifierMockRouteGuide_ListFeaturesClient) Context

func (*VerifierMockRouteGuide_ListFeaturesClient) Header

func (*VerifierMockRouteGuide_ListFeaturesClient) Recv

func (*VerifierMockRouteGuide_ListFeaturesClient) RecvMsg

func (*VerifierMockRouteGuide_ListFeaturesClient) SendMsg

func (*VerifierMockRouteGuide_ListFeaturesClient) Trailer

type VerifierMockRouteGuide_ListFeaturesServer

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

func (*VerifierMockRouteGuide_ListFeaturesServer) Context

func (*VerifierMockRouteGuide_ListFeaturesServer) RecvMsg

func (*VerifierMockRouteGuide_ListFeaturesServer) Send

func (*VerifierMockRouteGuide_ListFeaturesServer) SendHeader

func (*VerifierMockRouteGuide_ListFeaturesServer) SendMsg

func (*VerifierMockRouteGuide_ListFeaturesServer) SetHeader

func (*VerifierMockRouteGuide_ListFeaturesServer) SetTrailer

type VerifierMockRouteGuide_RecordRouteClient

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

func (*VerifierMockRouteGuide_RecordRouteClient) CloseAndRecv

func (*VerifierMockRouteGuide_RecordRouteClient) CloseSend

func (*VerifierMockRouteGuide_RecordRouteClient) Context

func (*VerifierMockRouteGuide_RecordRouteClient) Header

func (*VerifierMockRouteGuide_RecordRouteClient) RecvMsg

func (*VerifierMockRouteGuide_RecordRouteClient) Send

func (*VerifierMockRouteGuide_RecordRouteClient) SendMsg

func (*VerifierMockRouteGuide_RecordRouteClient) Trailer

type VerifierMockRouteGuide_RecordRouteServer

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

func (*VerifierMockRouteGuide_RecordRouteServer) Context

func (*VerifierMockRouteGuide_RecordRouteServer) Recv

func (*VerifierMockRouteGuide_RecordRouteServer) RecvMsg

func (*VerifierMockRouteGuide_RecordRouteServer) SendAndClose

func (*VerifierMockRouteGuide_RecordRouteServer) SendHeader

func (*VerifierMockRouteGuide_RecordRouteServer) SendMsg

func (*VerifierMockRouteGuide_RecordRouteServer) SetHeader

func (*VerifierMockRouteGuide_RecordRouteServer) SetTrailer

type VerifierMockRouteGuide_RouteChatClient

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

func (*VerifierMockRouteGuide_RouteChatClient) CloseSend

func (*VerifierMockRouteGuide_RouteChatClient) Context

func (*VerifierMockRouteGuide_RouteChatClient) Header

func (*VerifierMockRouteGuide_RouteChatClient) Recv

func (*VerifierMockRouteGuide_RouteChatClient) RecvMsg

func (*VerifierMockRouteGuide_RouteChatClient) Send

func (*VerifierMockRouteGuide_RouteChatClient) SendMsg

func (*VerifierMockRouteGuide_RouteChatClient) Trailer

type VerifierMockRouteGuide_RouteChatServer

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

func (*VerifierMockRouteGuide_RouteChatServer) Context

func (*VerifierMockRouteGuide_RouteChatServer) Recv

func (*VerifierMockRouteGuide_RouteChatServer) RecvMsg

func (*VerifierMockRouteGuide_RouteChatServer) Send

func (*VerifierMockRouteGuide_RouteChatServer) SendHeader

func (*VerifierMockRouteGuide_RouteChatServer) SendMsg

func (*VerifierMockRouteGuide_RouteChatServer) SetHeader

func (*VerifierMockRouteGuide_RouteChatServer) SetTrailer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL