Categorygithub.com/angelodlfrtr/valhalla-http-client-go
modulepackage
0.0.0-20220909144743-2b534581aa5d
Repository: https://github.com/angelodlfrtr/valhalla-http-client-go.git
Documentation: pkg.go.dev

# README

Valhalla http client in Go

Golang client to call Valhalla service via http.

WIP

# Functions

NewClient creates a new client with given config cfg.

# Constants

CostingModelAuto standard costing for driving routes by car, motorcycle, truck, and so on that obeys automobile driving rules, such as access and turn restrictions.
CostingModelBicycle standard costing for travel by bicycle, with a slight preference for using cycleways or roads with bicycle lanes.
CostingModelBikeshare BETA a combination of pedestrian and bicycle.
CostingModelBus standard costing for bus routes.
CostingModelMotorScooter BETA standard costing for travel by motor scooter or moped.
CostingModelMultimodal Currently supports pedestrian and transit.
CostingModelPedestrian standard walking route that excludes roads without pedestrian access.
CostingModelTaxi standard costing for taxi routes.
CostingModelTruck standard costing for trucks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Client is the client for the valhalla service.
ClientConfig is the configuration for the client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Elevationinput is the input for elevation service.
ElevationOutput is the output for elevation service.
Point define a geographical point.
ErrorResponse from the valhalla server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RouteInput is the input for turn by turn routing service.
No description provided by the author
RouteInputLocationSearchFilter search filter for route input location.
RouteLocation location for route input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

BeforeRequestFn is a function that can be called before sending a request allowing to customize request before it is sent.
No description provided by the author
No description provided by the author
No description provided by the author