Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type ExpireErrors ¶
type ExpireErrors []error
func (ExpireErrors) Err ¶
func (e ExpireErrors) Err() error
func (ExpireErrors) Error ¶
func (e ExpireErrors) Error() string
type ExpiredKeys ¶
type ExpiredKeys []string
type MXCacher ¶
type MXCacher interface {
Get(key string, i interface{}) error
Set(key string, data interface{}, ex int) error
Expire(pattern string) (ExpiredKeys, error)
Incr(key string) (int64, error)
IncrBy(key string, value int64) (int64, error)
ExpireAt(key string, time time.Time) error
Ping() error
}
func NewMXCache ¶
type MXKeysLister ¶
type MXKeysRemover ¶
Click to show internal directories.
Click to hide internal directories.