Documentation ¶
Overview ¶
cache/cache.go
Index ¶
- Constants
- func ClearCache(db *bbolt.DB) error
- func CountCacheEntries(db *bbolt.DB) (int, error)
- func GetCacheStatus() (bool, error)
- func GetFromCache(key string) ([]byte, bool, error)
- func HandleCacheCommand(args []string)
- func SaveToCache(key string, response []byte) error
- func SetCacheEnabled(enabled bool) error
Constants ¶
View Source
const ( CacheBucket = "Cache" ConfigBucket = "Config" CacheEnabledKey = "true" )
Variables ¶
This section is empty.
Functions ¶
func ClearCache ¶
func GetCacheStatus ¶
func HandleCacheCommand ¶
func HandleCacheCommand(args []string)
func SaveToCache ¶
func SetCacheEnabled ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.