package
Version:
v0.3.23
Opens a new window with list of versions in this module.
Published: Aug 12, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package location implements API functions residing under /provisioning/location.
This path contains methods for querying existing locations.
API contains methods for location querying.
NewAPI creates a new location API instance with the given client.
type Location struct {
Code string `json:"code"`
Country string `json:"country"`
ID string `json:"id"`
Latitude string `json:"lat"`
Longitude string `json:"lon"`
Name string `json:"name"`
CountryName string `json:"country_name"`
}
Location is the metadata of a single location.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.