Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func DialGoogle ¶
Dial connects to the google maps client, specifying a timeout for all DB operations and a max number of operations running concurrently.
func (*API) Get ¶
func (api *API) Get(txn newrelic.Transaction, placeID string) <-chan PlacesResult
Get asynchronously fetches information about a place.
func (*API) NearbySearch ¶
func (api *API) NearbySearch(txn newrelic.Transaction, lat, lng float64, radius uint) <-chan PlacesResult
NearbySearch asynchronously sends a nearby search request to google maps and streams back its resources.
type PlacesResult ¶
Click to show internal directories.
Click to hide internal directories.