Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
Locations []RequestLocation `json:"locations"`
Costing string `json:"costing"`
}
type RequestLocation ¶
type Router ¶
func (*Router) Request ¶
func (h *Router) Request(ctx context.Context, req model.DirectionRequest) (*model.Directions, error)
type Trip ¶
type Trip struct {
Legs []Leg `json:"legs"`
Summary Summary `json:"summary"`
Locations []RequestLocation `json:"locations"`
}
Click to show internal directories.
Click to hide internal directories.