package internal
import "github.com/go-redis/redis/internal"
Index ¶
- Constants
- Variables
- func BytesToString(b []byte) string
- func IsBadConn(err error, allowTimeout bool) bool
- func IsExecAbortError(err error) bool
- func IsInternalError(err error) bool
- func IsLoadingError(err error) bool
- func IsMovedError(err error) (moved bool, ask bool, addr string)
- func IsNetworkError(err error) bool
- func IsRetryableError(err error) bool
- func Logf(s string, args ...interface{})
- func ToLower(s string) string
- type RedisError
Constants ¶
const Nil = RedisError("redis: nil")
Variables ¶
Functions ¶
func BytesToString ¶
func IsBadConn ¶
func IsExecAbortError ¶
func IsInternalError ¶
func IsLoadingError ¶
func IsMovedError ¶
func IsNetworkError ¶
func IsRetryableError ¶
func Logf ¶
func Logf(s string, args ...interface{})
func ToLower ¶
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 ¶
Path | Synopsis |
---|---|
internal/consistenthash | Package consistenthash provides an implementation of a ring hash. |
internal/hashtag | |
internal/pool | |
internal/proto |
- Version
- v5.2.4+incompatible
- Published
- Feb 8, 2017
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- 1 week ago –
Tools for package owners.