redis.v5: gopkg.in/redis.v5/internal Index | Files | Directories

package internal

import "gopkg.in/redis.v5/internal"

Index

Package Files

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

Constants

const Nil = RedisError("redis: nil")

Variables

var Logger *log.Logger

func BytesToString Uses

func BytesToString(b []byte) string

func IsBadConn Uses

func IsBadConn(err error, allowTimeout bool) bool

func IsExecAbortError Uses

func IsExecAbortError(err error) bool

func IsInternalError Uses

func IsInternalError(err error) bool

func IsLoadingError Uses

func IsLoadingError(err error) bool

func IsMovedError Uses

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

func IsNetworkError Uses

func IsNetworkError(err error) bool

func IsRetryableError Uses

func IsRetryableError(err error) bool

func Logf Uses

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

func SliceNextElem Uses

func SliceNextElem(v reflect.Value) reflect.Value

func ToLower Uses

func ToLower(s string) string

type RedisError Uses

type RedisError string

func (RedisError) Error Uses

func (e RedisError) Error() string

Directories

PathSynopsis
consistenthashPackage consistenthash provides an implementation of a ring hash.
hashtag
pool
proto

Package internal imports 7 packages (graph) and is imported by 5 packages. Updated 2018-02-11. Refresh now. Tools for package owners.