Documentation ¶
Index ¶
- func Bytes(conn redis.Conn, key string) ([]byte, error)
- func Ping(pool *redis.Pool) (err error)
- func Read(conn redis.Conn, key string, bean interface{}) error
- func ReadFromJSON(conn redis.Conn, key string, bean interface{}) error
- func Write(conn redis.Conn, key string, bean interface{}, expiry time.Duration) error
- func WriteToJSON(conn redis.Conn, key string, bean interface{}, expiry time.Duration) error
- type Locker
- type Option
- type RedisPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func SetRetryDelay ¶
Click to show internal directories.
Click to hide internal directories.