Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleRouteFetcher ¶
type GoogleRouteFetcher struct {
APIKey string
}
func (GoogleRouteFetcher) GetDistance ¶
func (rf GoogleRouteFetcher) GetDistance(from model.Coordinates, to model.Coordinates) (int, error)
type RouteFetcher ¶
type RouteFetcher interface {
GetDistance(coordinates model.Coordinates, to model.Coordinates) (int, error)
}
Click to show internal directories.
Click to hide internal directories.