Versions in this module Expand all Collapse all v4 v4.5.3 Jun 29, 2022 Changes in this version + type Conn interface + Close func() error + Eval func(script *Script, keysAndArgs ...interface{}) (interface{}, error) + Get func(name string) (string, error) + PTTL func(name string) (time.Duration, error) + Set func(name string, value string) (bool, error) + SetNX func(name string, value string, expiry time.Duration) (bool, error) + type Pool interface + Get func(ctx context.Context) (Conn, error) + type Script struct + Hash string + KeyCount int + Src string + func NewScript(keyCount int, src string) *Script