Documentation ¶
Index ¶
- Variables
- func Add(key string, data interface{}, d time.Duration) bool
- func Decrement(key string) bool
- func Forever(key string, data interface{}) error
- func Get(key string, object interface{}) (c.Value, bool)
- func Has(key string) bool
- func Increment(key string) bool
- func Put(key string, data interface{}, d time.Duration) error
- func Remove(key string) bool
- func Use(driver string) error
- type CacheConfig
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var AppCache *c.Manager
Functions ¶
Types ¶
type CacheConfig ¶ added in v0.0.5
type Service ¶ added in v0.0.5
type Service struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.