Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisStore ¶ added in v1.2.0
type RedisStore struct {
// contains filtered or unexported fields
}
RedisStore struct to hold redis client and ttl.
func NewRedisStore ¶ added in v1.2.0
func NewRedisStore(options *redis.Options, ttl time.Duration) *RedisStore
NewRedisStore returns a new RedisStore with redis client using https://gopkg.in/redis.v5.
Click to show internal directories.
Click to hide internal directories.