Versions in this module Expand all Collapse all v1 v1.0.1-GA Aug 19, 2016 v1.0.0 Jul 11, 2016 Changes in this version + 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) GetLocation() *Point + func (m *Feature) Reset() + func (m *Feature) String() string + type Point struct + Latitude int32 + Longitude int32 + func (*Point) Descriptor() ([]byte, []int) + func (*Point) ProtoMessage() + func (m *Point) Reset() + func (m *Point) String() string + type Rectangle struct + Hi *Point + Lo *Point + func (*Rectangle) Descriptor() ([]byte, []int) + func (*Rectangle) ProtoMessage() + func (m *Rectangle) GetHi() *Point + func (m *Rectangle) GetLo() *Point + func (m *Rectangle) Reset() + func (m *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 + 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) GetLocation() *Point + func (m *RouteNote) Reset() + func (m *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) Reset() + func (m *RouteSummary) String() string