Documentation
¶
Index ¶
Constants ¶
View Source
const (
OptionalUpdateTTL = 24 * time.Hour
)
Variables ¶
This section is empty.
Functions ¶
func ClearOptionalUpdateAttempt ¶
func ClearOptionalUpdateAttempt() error
ClearOptionalUpdateAttempt removes the optional update cache entry, if it exists.
func ReadOptionalUpdateAttempt ¶
ReadOptionalUpdateAttempt returns the timestamp of the last optional update attempt. If no attempt has been recorded, the returned time is zero.
func WriteOptionalUpdateAttempt ¶
WriteOptionalUpdateAttempt records the provided timestamp as the last optional update attempt.
Types ¶
Click to show internal directories.
Click to hide internal directories.