Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + var DefaultTerminateSignals = []os.Signal + func NewRedisConn(address string) (redis.Conn, error) + func NewRedisPool(address string, size ...uint32) (*redis.Pool, error) + func OnDone(ctx context.Context, cb func(error)) + func WithSignal(ctx context.Context, sig ...os.Signal) (context.Context, context.CancelFunc) + type Mark interface + Done func(ctx context.Context) error + Signal func() + func NewMark() Mark + type RedisDialParams struct + Host string + Options []redis.DialOption + Scheme string