Documentation ¶
Index ¶
- func Add(key string, value interface{}) bool
- func AddTokenCache(key string, value interface{}) bool
- func Decrement(key string, value int64) (decremented int64, success bool)
- func Forever(key string, value interface{}) bool
- func Forget(key string) bool
- func Get(key string, defaultValue ...interface{}) interface{}
- func GetString(key string) string
- func Has(key string) bool
- func Increment(key string, value int64) (incremented int64, success bool)
- func Padd(key string, value proto.Message, future time.Duration) bool
- func Pforever(key string, value proto.Message) bool
- func Pget(key string, valuePtr proto.Message, defaultValue ...proto.Message) error
- func Ppull(key string, valuePtr proto.Message, defaultValue ...proto.Message) error
- func Pput(key string, value proto.Message, future time.Duration) bool
- func Prefix() string
- func Pull(key string, defaultValue ...interface{}) interface{}
- func Put(key string, value interface{}) bool
- func SetNx(key string, value string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTokenCache ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.