Documentation ¶
Overview ¶
Package goredis is a library wrapped on top of github.com/go-redis/redis.
Index ¶
Constants ¶
View Source
const ( // ErrRedisNotFound not exist in redis ErrRedisNotFound = redis.Nil // DefaultRedisName default redis name DefaultRedisName = "default" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
Option set the redis options.
func WithDialTimeout ¶
WithDialTimeout set dail timeout
func WithReadTimeout ¶
WithReadTimeout set read timeout
func WithWriteTimeout ¶
WithWriteTimeout set write timeout
Click to show internal directories.
Click to hide internal directories.