Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Close()
- func (c *Client) GetFeature(ctx context.Context, point *pb.Point) (*pb.Feature, error)
- func (c *Client) HealthCheck(ctx context.Context) (*healthpb.HealthCheckResponse, error)
- func (c *Client) ListFeatures(ctx context.Context, rect *pb.Rectangle) ([]*pb.Feature, error)
- func (c *Client) RecordRoute(ctx context.Context) (*pb.RouteSummary, error)
- func (c *Client) RouteChat(ctx context.Context) ([]*pb.RouteNote, error)
- type ClientOptions
- type TLSOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidPoint = &pb.Point{Latitude: 0, Longitude: 0}
View Source
var Rect = &pb.Rectangle{ Lo: &pb.Point{Latitude: 410000000, Longitude: -740000000}, Hi: &pb.Point{Latitude: 415000000, Longitude: -745000000}, }
View Source
var ValidPoint = &pb.Point{Latitude: 409146138, Longitude: -746188906}
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetFeature ¶
func (*Client) HealthCheck ¶
func (*Client) ListFeatures ¶
func (*Client) RecordRoute ¶
type ClientOptions ¶
type ClientOptions struct { Timeout time.Duration TLS TLSOptions }
type TLSOptions ¶
Click to show internal directories.
Click to hide internal directories.