Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Get(key string) (interface{}, bool)
Set(key string, value interface{})
Delete(key string)
Clear() error
}
Cache defines the interface for caching
type FileCache ¶
type FileCache struct {
// contains filtered or unexported fields
}
FileCache implements file-based caching
func NewFileCache ¶
NewFileCache creates a new file-based cache
Click to show internal directories.
Click to hide internal directories.