Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GeoLocator ¶
type GeoLocator interface { Geolocate(ctx context.Context, accessPoints []maps.WiFiAccessPoint) (*maps.GeolocationResult, error) ListRestaurants(ctx context.Context, searchRequest *maps.NearbySearchRequest) (maps.PlacesSearchResponse, error) PlaceDetails(ctx context.Context, detailsRequest *maps.PlaceDetailsRequest) (domain.Place, error) }
GeoLocator ...
type Locate ¶
type Locate struct {
// contains filtered or unexported fields
}
Locate ...
func (Locate) FetchLocation ¶
func (l Locate) FetchLocation(ctx context.Context, airportRows []string) (*maps.GeolocationResult, error)
FetchLocation ...
func (Locate) FetchRestaurant ¶
func (l Locate) FetchRestaurant(ctx context.Context, req domain.SearchRequest) (domain.Place, error)
FetchRestaurant ...
Click to show internal directories.
Click to hide internal directories.