package internal

import "github.com/go-redis/redis/internal"

Index

Constants

const Nil = RedisError("redis: nil")

Variables

var Logger *log.Logger

Functions

func BytesToString

func BytesToString(b []byte) string

func IsBadConn

func IsBadConn(err error, allowTimeout bool) bool

func IsExecAbortError

func IsExecAbortError(err error) bool

func IsInternalError

func IsInternalError(err error) bool

func IsLoadingError

func IsLoadingError(err error) bool

func IsMovedError

func IsMovedError(err error) (moved bool, ask bool, addr string)

func IsNetworkError

func IsNetworkError(err error) bool

func IsRetryableError

func IsRetryableError(err error) bool

func Logf

func Logf(s string, args ...interface{})

func SliceNextElem

func SliceNextElem(v reflect.Value) reflect.Value

func ToLower

func ToLower(s string) string

Types

type RedisError

type RedisError string

func (RedisError) Error

func (e RedisError) Error() string

Source Files

errors.go log.go unsafe.go util.go

Directories

PathSynopsis
internal/consistenthashPackage consistenthash provides an implementation of a ring hash.
internal/hashtag
internal/pool
internal/proto
Version
v6.1.2+incompatible
Published
Apr 12, 2017
Platform
windows/amd64
Imports
7 packages
Last checked
1 week ago

Tools for package owners.