Versions in this module Expand all Collapse all v0 v0.0.12 Jan 31, 2023 v0.0.11 Dec 15, 2022 v0.0.10 Nov 10, 2022 v0.0.9 Oct 21, 2022 v0.0.8 Oct 14, 2022 v0.0.7 Oct 9, 2022 v0.0.6 Sep 29, 2022 v0.0.5 Sep 28, 2022 v0.0.4 Sep 22, 2022 v0.0.3 Sep 22, 2022 v0.0.2 Sep 19, 2022 v0.0.1 Sep 12, 2022 Changes in this version + var ErrNil = redisv8.Nil + func Client() *redisv8.Client + func Valid() bool + type Option func(o *Options) + func WithAddress(s string) Option + func WithAuth(username, password string) Option + func WithCustomized() Option + func WithDB(i int) Option + func WithMaxRetries(i int) Option + func WithPort(port int) Option + type Options struct + Address string + DB int + MaxRetries int + Network string + Password string + Port int + Username string + type Redis struct + func New(opts ...Option) *Redis + func (r *Redis) Connect() error + func (r *Redis) Destory() + func (r *Redis) Load(src []byte) error + func (r Redis) Name() string