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 ¶
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)
}
Click to show internal directories.
Click to hide internal directories.