Documentation ¶
Index ¶
- type CacheMap
- func (c *CacheMap) Del(key string) (int64, error)
- func (c *CacheMap) Exist(key string) (bool, error)
- func (c *CacheMap) Expire(key string, expire int64) (bool, error)
- func (c *CacheMap) Get(key string) (string, error)
- func (c *CacheMap) Incrby(key string, v int64) (int64, error)
- func (c *CacheMap) ReleaseDistributedLock(key string, v string) (bool, error)
- func (c *CacheMap) Set(key string, value string) error
- func (c *CacheMap) SetEx(key string, value string, milli int64) error
- func (c *CacheMap) TryGetDistributedLock(key string, v string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheMap ¶
func (*CacheMap) ReleaseDistributedLock ¶
Click to show internal directories.
Click to hide internal directories.