Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionFunc ¶ added in v1.0.2
type OptionFunc func(*Option)
func WithTry ¶ added in v1.0.2
func WithTry(try int) OptionFunc
type RedisCache ¶
type RedisCache struct { *Option // contains filtered or unexported fields }
func New ¶
func New(c redis.Cmdable, locker lock.Locker, opts ...OptionFunc) (*RedisCache, error)
func (*RedisCache) FlushCache ¶
Click to show internal directories.
Click to hide internal directories.