directions

package
v0.0.0-...-3f38b23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRequest

func HandleRequest(pref string, req model.DirectionRequest) (*model.Directions, error)

func RegisterRouter

func RegisterRouter(name string, f handlerFunc) error

Types

type Handler

type Handler interface {
	Request(model.DirectionRequest) (*model.Directions, error)
}

type LocationClient

type LocationClient interface {
	CalculateRoute(context.Context, *location.CalculateRouteInput, ...func(*location.Options)) (*location.CalculateRouteOutput, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL