Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TimestampFreshness int
TimestampFreshness is the amount of second a result is treated as valid
Functions ¶
func CheckTimeFreshness ¶
CheckTimeFreshness tests if the data is still valid
func CheckTimestampFreshness ¶
CheckTimestampFreshness tests if the data is still valid
func DoAPIRequest ¶
DoAPIRequest does the http handling for an api request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.