Versions in this module Expand all Collapse all v1 v1.0.0 Feb 11, 2026 Changes in this version + func Client() *client + func Init(opt Options) error + type AfterFunc func(context.Context, rds.Cmder) + type BeforeFunc func(context.Context) context.Context + type Options struct + AfterFunc AfterFunc + BeforeFunc BeforeFunc + DB int + Host []string + MasterName string + MinIdleConns int + Mode int + Password string + PoolSize int + Prefix string + ReadTimeout time.Duration + SentinelPassword string + Username string + WriteTimeout time.Duration