locationCache

package
v0.0.0-...-ba78d77 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocation

func GetLocation(locationID int64) (*staticData.Location, error)

GetLocation returns a (cached) version of location info from the location endpoint

func GetLocations

func GetLocations(locationIDs []int64) (map[int64]*staticData.Location, error)

GetLocations returns a (cached) version of location info from the location endpoint

func Initialize

func Initialize(url string, client *http.Client)

Initialize initializes infrastructure for locations

Types

This section is empty.

Jump to

Keyboard shortcuts

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