Documentation
¶
Overview ¶
Package cache provides a simple file-based cache implementation that fulfills the RefreshReadWriter interface.
It writes and reads the cache to a file in JSON format, along with the last refresh time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶ added in v0.6.0
type File struct {
// contains filtered or unexported fields
}
func NewFileCache ¶
func (*File) RefreshedAt ¶ added in v0.6.0
type RefreshReadWriter ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.