Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CEOptions ¶
type CEOptions struct {
// Name of Engine adapter. Default is "CERedis (redis)".
Engine CEType
// Options denpent on Engine (gomacaron options, redis options)
Options interface{}
}
CEOptions represent Cacher Engine Options
type ICacherEngine ¶
type ICacherEngine interface {
GetEngine() interface{}
IsExist(key string) bool
Put(key string, val interface{}, timeout int64) error
Get(key string) interface{}
Incr(key string) error
Decr(key string) error
Delete(key string) error
Flush() error
}
ICacherEngine contract/interface for CacherEngine
Click to show internal directories.
Click to hide internal directories.