Documentation ¶
Index ¶
- type Cache
- func (c *Cache) BuildKey(key string) string
- func (c *Cache) Delete(redisConn redis.Conn, key string) error
- func (c *Cache) Exists(redisConn redis.Conn, key string) (bool, error)
- func (c *Cache) Get(redisConn redis.Conn, key string) (string, error)
- func (c *Cache) HDelete(redisConn redis.Conn, key, field string) error
- func (c *Cache) HGet(redisConn redis.Conn, key, field string) (string, error)
- func (c *Cache) HSet(redisConn redis.Conn, key, field, value string) error
- func (c *Cache) Set(redisConn redis.Conn, key, value string, expire int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.