Versions in this module Expand all Collapse all v8 v8.3.3 Oct 19, 2020 Changes in this version + var NewConnectionsCounter metric.Int64Counter + var WritesCounter metric.Int64Counter + func AppendArg(b []byte, v interface{}) []byte + func Bytes(s string) []byte + func RecordError(ctx context.Context, err error) error + func RetryBackoff(retry int, minBackoff, maxBackoff time.Duration) time.Duration + func Sleep(ctx context.Context, dur time.Duration) error + func String(b []byte) string + func ToLower(s string) string + func Unwrap(err error) error + func WithSpan(ctx context.Context, name string, fn func(context.Context, otel.Span) error) error + type Logging interface + Printf func(ctx context.Context, format string, v ...interface{}) + var Logger Logging = &logger{ ... } + type Once struct + func (o *Once) Do(f func() error) error Other modules containing this package github.com/nikolubbe/redis