internal

package
v5.2.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2017 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Nil = RedisError("redis: nil")

Variables

View Source
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 ToLower

func ToLower(s string) string

Types

type RedisError

type RedisError string

func (RedisError) Error

func (e RedisError) Error() string

Directories

Path Synopsis
Package consistenthash provides an implementation of a ring hash.
Package consistenthash provides an implementation of a ring hash.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL