internal

package
v5.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var Logger *log.Logger

Functions

func IsBadConn

func IsBadConn(err error, allowTimeout bool) 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