Documentation ¶ Index ¶ func GetCacheDir(appId string) string type Cache func NewCache(appId string, subdir string) *Cache func (c *Cache) Has(key string) bool func (c *Cache) Path() string func (c *Cache) Retrieve(key string) ([]byte, error) func (c *Cache) Store(key string, data []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetCacheDir ¶ func GetCacheDir(appId string) string Types ¶ type Cache ¶ type Cache struct { // contains filtered or unexported fields } func NewCache ¶ func NewCache(appId string, subdir string) *Cache func (*Cache) Has ¶ func (c *Cache) Has(key string) bool func (*Cache) Path ¶ func (c *Cache) Path() string func (*Cache) Retrieve ¶ func (c *Cache) Retrieve(key string) ([]byte, error) func (*Cache) Store ¶ func (c *Cache) Store(key string, data []byte) error Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.