Versions in this module Expand all Collapse all v1 v1.12.0 Jul 26, 2016 Changes in this version + var ErrIntOverflowService = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling") + func RegisterRouteGuideServer(s *grpc.Server, srv RouteGuideServer) + type Feature struct + Location *Point + Name string + func (*Feature) Descriptor() ([]byte, []int) + func (*Feature) ProtoMessage() + func (m *Feature) Marshal() (data []byte, err error) + func (m *Feature) MarshalTo(data []byte) (int, error) + func (m *Feature) Reset() + func (m *Feature) Size() (n int) + func (m *Feature) Unmarshal(data []byte) error + func (this *Feature) GoString() string + func (this *Feature) String() string + type Point struct + Latitude int32 + Longitude int32 + func (*Point) Descriptor() ([]byte, []int) + func (*Point) ProtoMessage() + func (m *Point) Marshal() (data []byte, err error) + func (m *Point) MarshalTo(data []byte) (int, error) + func (m *Point) Reset() + func (m *Point) Size() (n int) + func (m *Point) Unmarshal(data []byte) error + func (this *Point) GoString() string + func (this *Point) String() string + type Rectangle struct + Hi *Point + Lo *Point + func (*Rectangle) Descriptor() ([]byte, []int) + func (*Rectangle) ProtoMessage() + func (m *Rectangle) Marshal() (data []byte, err error) + func (m *Rectangle) MarshalTo(data []byte) (int, error) + func (m *Rectangle) Reset() + func (m *Rectangle) Size() (n int) + func (m *Rectangle) Unmarshal(data []byte) error + func (this *Rectangle) GoString() string + func (this *Rectangle) String() string + type RouteGuideClient interface + GetFeature func(ctx context.Context, in *Point, opts ...grpc.CallOption) (*Feature, error) + ListFeatures func(ctx context.Context, in *Rectangle, opts ...grpc.CallOption) (RouteGuide_ListFeaturesClient, error) + RecordRoute func(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RecordRouteClient, error) + RouteChat func(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RouteChatClient, error) + func NewRouteGuideClient(cc *grpc.ClientConn) RouteGuideClient + type RouteGuideServer interface + GetFeature func(context.Context, *Point) (*Feature, error) + ListFeatures func(*Rectangle, RouteGuide_ListFeaturesServer) error + RecordRoute func(RouteGuide_RecordRouteServer) error + RouteChat func(RouteGuide_RouteChatServer) error + func NewRaftProxyRouteGuideServer(local RouteGuideServer, connSelector *raftpicker.ConnSelector, ...) RouteGuideServer + type RouteGuide_ListFeaturesClient interface + Recv func() (*Feature, error) + type RouteGuide_ListFeaturesServer interface + Send func(*Feature) error + type RouteGuide_RecordRouteClient interface + CloseAndRecv func() (*RouteSummary, error) + Send func(*Point) error + type RouteGuide_RecordRouteServer interface + Recv func() (*Point, error) + SendAndClose func(*RouteSummary) error + type RouteGuide_RouteChatClient interface + Recv func() (*RouteNote, error) + Send func(*RouteNote) error + type RouteGuide_RouteChatServer interface + Recv func() (*RouteNote, error) + Send func(*RouteNote) error + type RouteNote struct + Location *Point + Message string + func (*RouteNote) Descriptor() ([]byte, []int) + func (*RouteNote) ProtoMessage() + func (m *RouteNote) Marshal() (data []byte, err error) + func (m *RouteNote) MarshalTo(data []byte) (int, error) + func (m *RouteNote) Reset() + func (m *RouteNote) Size() (n int) + func (m *RouteNote) Unmarshal(data []byte) error + func (this *RouteNote) GoString() string + func (this *RouteNote) String() string + type RouteSummary struct + Distance int32 + ElapsedTime int32 + FeatureCount int32 + PointCount int32 + func (*RouteSummary) Descriptor() ([]byte, []int) + func (*RouteSummary) ProtoMessage() + func (m *RouteSummary) Marshal() (data []byte, err error) + func (m *RouteSummary) MarshalTo(data []byte) (int, error) + func (m *RouteSummary) Reset() + func (m *RouteSummary) Size() (n int) + func (m *RouteSummary) Unmarshal(data []byte) error + func (this *RouteSummary) GoString() string + func (this *RouteSummary) String() string