Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDownstream = errors.InternalServerError("MAP_ERROR", "Unable to connect to map provider") ErrNoResults = errors.BadRequest("NO_RESULTS", "Unable to geocode address, no results found") ErrMissingLatitude = errors.BadRequest("MISSING_LATITUDE", "Missing latitude") ErrMissingLongitude = errors.BadRequest("MISSING_LONGITUDE", "Missing longitude") )
Functions ¶
This section is empty.
Types ¶
type Geocoding ¶
func (*Geocoding) Lookup ¶
func (g *Geocoding) Lookup(ctx context.Context, req *pb.LookupRequest, rsp *pb.LookupResponse) error
func (*Geocoding) Reverse ¶
func (g *Geocoding) Reverse(ctx context.Context, req *pb.ReverseRequest, rsp *pb.ReverseResponse) error
Reverse geocode an address
Click to show internal directories.
Click to hide internal directories.