google

package
v0.0.0-...-a413825 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package google provides gateway logic for for interacting with Googles APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoGateway

type GeoGateway struct {
	// contains filtered or unexported fields
}

GeoGateway ...

func NewGoogleGateway

func NewGoogleGateway(client *maps.Client) GeoGateway

NewGoogleGateway ...

func (*GeoGateway) Geolocate

func (g *GeoGateway) Geolocate(ctx context.Context, accessPoints []maps.WiFiAccessPoint) (*maps.GeolocationResult, error)

Geolocate ...

func (*GeoGateway) ListRestaurants

func (g *GeoGateway) ListRestaurants(ctx context.Context, searchRequest *maps.NearbySearchRequest) (maps.PlacesSearchResponse, error)

ListRestaurants ...

func (*GeoGateway) PlaceDetails

func (g *GeoGateway) PlaceDetails(ctx context.Context, detailsRequest *maps.PlaceDetailsRequest) (domain.Place, error)

PlaceDetails ...

Jump to

Keyboard shortcuts

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