Documentation
¶
Index ¶
Constants ¶
View Source
const (
MemoryCache = iota
)
Cacher list
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cachex ¶
type Cachex interface { Get(key string) interface{} MGet(key ...string) []interface{} Set(key string, val interface{}, ttl int64) error Has(key string) bool Del(key string) error Incr(key string) error Decr(key string) error SetGC(gcInterval, gcMaxOnce int) Flush() error Close() error }
Cachex is cache interface
Click to show internal directories.
Click to hide internal directories.