MCPcopy
hub / github.com/redis/go-redis / Addr

Method Addr

internal/proto/redis_errors.go:78–80  ·  view source on GitHub ↗

Addr returns the address of the node to ask.

()

Source from the content-addressed store, hash-verified

76
77// Addr returns the address of the node to ask.
78func (e *AskError) Addr() string {
79 return e.addr
80}
81
82// NewAskError creates a new AskError with the given message and address.
83func NewAskError(msg string, addr string) *AskError {

Callers 9

isMovedErrorFunction · 0.45
isMovedSameConnAddrFunction · 0.45
IsMovedErrorFunction · 0.45
IsAskErrorFunction · 0.45
ScanSliceFunction · 0.45
TestTypedRedisErrorsFunction · 0.45
conn_check_test.goFile · 0.45
ScanMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestTypedRedisErrorsFunction · 0.36