adsa-cms: github.com/mmanjoura/adsa-cms/cache Index | Files | Directories

package cache

import "github.com/mmanjoura/adsa-cms/cache"

Index

Package Files

cache_store.go

type CacheStoreInterface Uses

type CacheStoreInterface interface {
    Get(key string) (string, error)
    Unmarshal(key string, object interface{}) error
    Set(key string, value interface{}) error
    Fetch(key string, fc func() interface{}) (string, error)
    Delete(key string) error
}

Directories

PathSynopsis
memcached
memory
redis

Package cache is imported by 1 packages. Updated 2017-06-08. Refresh now. Tools for package owners.