SYMBOL INDEX (4857 symbols across 276 files) FILE: acl_commands.go type ACLCmdable (line 5) | type ACLCmdable interface type ACLCatArgs (line 23) | type ACLCatArgs struct method ACLDryRun (line 27) | func (c cmdable) ACLDryRun(ctx context.Context, username string, command... method ACLLog (line 36) | func (c cmdable) ACLLog(ctx context.Context, count int64) *ACLLogCmd { method ACLLogReset (line 47) | func (c cmdable) ACLLogReset(ctx context.Context) *StatusCmd { method ACLDelUser (line 53) | func (c cmdable) ACLDelUser(ctx context.Context, username string) *IntCmd { method ACLSetUser (line 59) | func (c cmdable) ACLSetUser(ctx context.Context, username string, rules ... method ACLGenPass (line 72) | func (c cmdable) ACLGenPass(ctx context.Context, bit int) *StringCmd { method ACLUsers (line 83) | func (c cmdable) ACLUsers(ctx context.Context) *StringSliceCmd { method ACLWhoAmI (line 89) | func (c cmdable) ACLWhoAmI(ctx context.Context) *StringCmd { method ACLList (line 95) | func (c cmdable) ACLList(ctx context.Context) *StringSliceCmd { method ACLCat (line 101) | func (c cmdable) ACLCat(ctx context.Context) *StringSliceCmd { method ACLCatArgs (line 107) | func (c cmdable) ACLCatArgs(ctx context.Context, options *ACLCatArgs) *S... FILE: adapters.go function newClientAdapter (line 20) | func newClientAdapter(client *baseClient) interfaces.ClientInterface { type clientAdapter (line 25) | type clientAdapter struct method GetOptions (line 30) | func (ca *clientAdapter) GetOptions() interfaces.OptionsInterface { method GetPushProcessor (line 35) | func (ca *clientAdapter) GetPushProcessor() interfaces.NotificationPro... type optionsAdapter (line 40) | type optionsAdapter struct method GetReadTimeout (line 45) | func (oa *optionsAdapter) GetReadTimeout() time.Duration { method GetWriteTimeout (line 50) | func (oa *optionsAdapter) GetWriteTimeout() time.Duration { method GetNetwork (line 55) | func (oa *optionsAdapter) GetNetwork() string { method GetAddr (line 60) | func (oa *optionsAdapter) GetAddr() string { method GetNodeAddress (line 67) | func (oa *optionsAdapter) GetNodeAddress() string { method IsTLSEnabled (line 72) | func (oa *optionsAdapter) IsTLSEnabled() bool { method GetProtocol (line 77) | func (oa *optionsAdapter) GetProtocol() int { method GetPoolSize (line 82) | func (oa *optionsAdapter) GetPoolSize() int { method NewDialer (line 87) | func (oa *optionsAdapter) NewDialer() func(context.Context) (net.Conn,... type pushProcessorAdapter (line 98) | type pushProcessorAdapter struct method RegisterHandler (line 103) | func (ppa *pushProcessorAdapter) RegisterHandler(pushNotificationName ... method UnregisterHandler (line 111) | func (ppa *pushProcessorAdapter) UnregisterHandler(pushNotificationNam... method GetHandler (line 116) | func (ppa *pushProcessorAdapter) GetHandler(pushNotificationName strin... FILE: async_handoff_integration_test.go type mockNetConn (line 17) | type mockNetConn struct method Read (line 21) | func (m *mockNetConn) Read(b []byte) (n int, err error) { return 0, ... method Write (line 22) | func (m *mockNetConn) Write(b []byte) (n int, err error) { return len... method Close (line 23) | func (m *mockNetConn) Close() error { return nil } method LocalAddr (line 24) | func (m *mockNetConn) LocalAddr() net.Addr { return &mo... method RemoteAddr (line 25) | func (m *mockNetConn) RemoteAddr() net.Addr { return &mo... method SetDeadline (line 26) | func (m *mockNetConn) SetDeadline(t time.Time) error { return nil } method SetReadDeadline (line 27) | func (m *mockNetConn) SetReadDeadline(t time.Time) error { return nil } method SetWriteDeadline (line 28) | func (m *mockNetConn) SetWriteDeadline(t time.Time) error { return nil } type mockAddr (line 30) | type mockAddr struct method Network (line 34) | func (m *mockAddr) Network() string { return "tcp" } method String (line 35) | func (m *mockAddr) String() string { return m.addr } function TestEventDrivenHandoffIntegration (line 38) | func TestEventDrivenHandoffIntegration(t *testing.T) { function init (line 400) | func init() { FILE: auth/auth.go type StreamingCredentialsProvider (line 8) | type StreamingCredentialsProvider interface type UnsubscribeFunc (line 18) | type UnsubscribeFunc type CredentialsListener (line 24) | type CredentialsListener interface type Credentials (line 31) | type Credentials interface type basicAuth (line 40) | type basicAuth struct method RawCredentials (line 46) | func (b *basicAuth) RawCredentials() string { method BasicAuth (line 51) | func (b *basicAuth) BasicAuth() (username string, password string) { function NewBasicCredentials (line 56) | func NewBasicCredentials(username, password string) Credentials { FILE: auth/auth_test.go type mockStreamingProvider (line 11) | type mockStreamingProvider struct method Subscribe (line 24) | func (m *mockStreamingProvider) Subscribe(listener CredentialsListener... function newMockStreamingProvider (line 17) | func newMockStreamingProvider(initialCreds Credentials) *mockStreamingPr... function TestStreamingCredentialsProvider (line 45) | func TestStreamingCredentialsProvider(t *testing.T) { function TestBasicCredentials (line 182) | func TestBasicCredentials(t *testing.T) { function TestReAuthCredentialsListener (line 269) | func TestReAuthCredentialsListener(t *testing.T) { FILE: auth/reauth_credentials_listener.go type ReAuthCredentialsListener (line 8) | type ReAuthCredentialsListener struct method OnNext (line 16) | func (c *ReAuthCredentialsListener) OnNext(credentials Credentials) { method OnError (line 29) | func (c *ReAuthCredentialsListener) OnError(err error) { function NewReAuthCredentialsListener (line 39) | func NewReAuthCredentialsListener(reAuth func(credentials Credentials) e... FILE: bench_test.go function benchmarkRedisClient (line 16) | func benchmarkRedisClient(ctx context.Context, poolSize int) *redis.Clie... function BenchmarkRedisPing (line 30) | func BenchmarkRedisPing(b *testing.B) { function BenchmarkSetGoroutines (line 46) | func BenchmarkSetGoroutines(b *testing.B) { function BenchmarkRedisGetNil (line 70) | func BenchmarkRedisGetNil(b *testing.B) { type setStringBenchmark (line 86) | type setStringBenchmark struct method String (line 91) | func (bm setStringBenchmark) String() string { function BenchmarkRedisSetString (line 95) | func BenchmarkRedisSetString(b *testing.B) { function BenchmarkRedisSetGetBytes (line 131) | func BenchmarkRedisSetGetBytes(b *testing.B) { function BenchmarkRedisMGet (line 157) | func BenchmarkRedisMGet(b *testing.B) { function BenchmarkSetExpire (line 177) | func BenchmarkSetExpire(b *testing.B) { function BenchmarkPipeline (line 196) | func BenchmarkPipeline(b *testing.B) { function BenchmarkZAdd (line 217) | func BenchmarkZAdd(b *testing.B) { function BenchmarkXRead (line 237) | func BenchmarkXRead(b *testing.B) { function newClusterScenario (line 278) | func newClusterScenario() *clusterScenario { function BenchmarkClusterPing (line 288) | func BenchmarkClusterPing(b *testing.B) { function BenchmarkClusterDoInt (line 318) | func BenchmarkClusterDoInt(b *testing.B) { function BenchmarkClusterSetString (line 347) | func BenchmarkClusterSetString(b *testing.B) { function BenchmarkExecRingSetAddrsCmd (line 379) | func BenchmarkExecRingSetAddrsCmd(b *testing.B) { FILE: bitmap_commands.go type BitMapCmdable (line 8) | type BitMapCmdable interface method GetBit (line 26) | func (c cmdable) GetBit(ctx context.Context, key string, offset int64) *... method SetBit (line 32) | func (c cmdable) SetBit(ctx context.Context, key string, offset int64, v... type BitCount (line 44) | type BitCount struct constant BitCountIndexByte (line 49) | BitCountIndexByte string = "BYTE" constant BitCountIndexBit (line 50) | BitCountIndexBit string = "BIT" method BitCount (line 52) | func (c cmdable) BitCount(ctx context.Context, key string, bitCount *Bit... method bitOp (line 72) | func (c cmdable) bitOp(ctx context.Context, op, destKey string, keys ...... method BitOpAnd (line 86) | func (c cmdable) BitOpAnd(ctx context.Context, destKey string, keys ...s... method BitOpOr (line 91) | func (c cmdable) BitOpOr(ctx context.Context, destKey string, keys ...st... method BitOpXor (line 96) | func (c cmdable) BitOpXor(ctx context.Context, destKey string, keys ...s... method BitOpNot (line 101) | func (c cmdable) BitOpNot(ctx context.Context, destKey string, key strin... method BitOpDiff (line 107) | func (c cmdable) BitOpDiff(ctx context.Context, destKey string, keys ...... method BitOpDiff1 (line 113) | func (c cmdable) BitOpDiff1(ctx context.Context, destKey string, keys ..... method BitOpAndOr (line 119) | func (c cmdable) BitOpAndOr(ctx context.Context, destKey string, keys ..... method BitOpOne (line 125) | func (c cmdable) BitOpOne(ctx context.Context, destKey string, keys ...s... method BitPos (line 131) | func (c cmdable) BitPos(ctx context.Context, key string, bit int64, pos ... method BitPosSpan (line 159) | func (c cmdable) BitPosSpan(ctx context.Context, key string, bit int8, s... method BitField (line 169) | func (c cmdable) BitField(ctx context.Context, key string, values ...int... method BitFieldRO (line 182) | func (c cmdable) BitFieldRO(ctx context.Context, key string, values ...i... FILE: bitmap_commands_test.go type bitCountExpected (line 9) | type bitCountExpected struct FILE: cluster_commands.go type ClusterCmdable (line 5) | type ClusterCmdable interface method ClusterMyShardID (line 33) | func (c cmdable) ClusterMyShardID(ctx context.Context) *StringCmd { method ClusterMyID (line 39) | func (c cmdable) ClusterMyID(ctx context.Context) *StringCmd { method ClusterSlots (line 48) | func (c cmdable) ClusterSlots(ctx context.Context) *ClusterSlotsCmd { method ClusterShards (line 54) | func (c cmdable) ClusterShards(ctx context.Context) *ClusterShardsCmd { method ClusterLinks (line 60) | func (c cmdable) ClusterLinks(ctx context.Context) *ClusterLinksCmd { method ClusterNodes (line 66) | func (c cmdable) ClusterNodes(ctx context.Context) *StringCmd { method ClusterMeet (line 72) | func (c cmdable) ClusterMeet(ctx context.Context, host, port string) *St... method ClusterForget (line 78) | func (c cmdable) ClusterForget(ctx context.Context, nodeID string) *Stat... method ClusterReplicate (line 84) | func (c cmdable) ClusterReplicate(ctx context.Context, nodeID string) *S... method ClusterResetSoft (line 90) | func (c cmdable) ClusterResetSoft(ctx context.Context) *StatusCmd { method ClusterResetHard (line 96) | func (c cmdable) ClusterResetHard(ctx context.Context) *StatusCmd { method ClusterInfo (line 102) | func (c cmdable) ClusterInfo(ctx context.Context) *StringCmd { method ClusterKeySlot (line 108) | func (c cmdable) ClusterKeySlot(ctx context.Context, key string) *IntCmd { method ClusterGetKeysInSlot (line 114) | func (c cmdable) ClusterGetKeysInSlot(ctx context.Context, slot int, cou... method ClusterCountFailureReports (line 120) | func (c cmdable) ClusterCountFailureReports(ctx context.Context, nodeID ... method ClusterCountKeysInSlot (line 126) | func (c cmdable) ClusterCountKeysInSlot(ctx context.Context, slot int) *... method ClusterDelSlots (line 132) | func (c cmdable) ClusterDelSlots(ctx context.Context, slots ...int) *Sta... method ClusterDelSlotsRange (line 144) | func (c cmdable) ClusterDelSlotsRange(ctx context.Context, min, max int)... method ClusterSaveConfig (line 153) | func (c cmdable) ClusterSaveConfig(ctx context.Context) *StatusCmd { method ClusterSlaves (line 162) | func (c cmdable) ClusterSlaves(ctx context.Context, nodeID string) *Stri... method ClusterFailover (line 168) | func (c cmdable) ClusterFailover(ctx context.Context) *StatusCmd { method ClusterAddSlots (line 174) | func (c cmdable) ClusterAddSlots(ctx context.Context, slots ...int) *Sta... method ClusterAddSlotsRange (line 186) | func (c cmdable) ClusterAddSlotsRange(ctx context.Context, min, max int)... method ReadOnly (line 195) | func (c cmdable) ReadOnly(ctx context.Context) *StatusCmd { method ReadWrite (line 201) | func (c cmdable) ReadWrite(ctx context.Context) *StatusCmd { FILE: command.go type CmdTyper (line 75) | type CmdTyper interface type CmdTypeGetter (line 80) | type CmdTypeGetter interface type CmdType (line 84) | type CmdType constant CmdTypeGeneric (line 87) | CmdTypeGeneric CmdType = iota constant CmdTypeString (line 88) | CmdTypeString constant CmdTypeInt (line 89) | CmdTypeInt constant CmdTypeBool (line 90) | CmdTypeBool constant CmdTypeFloat (line 91) | CmdTypeFloat constant CmdTypeStringSlice (line 92) | CmdTypeStringSlice constant CmdTypeIntSlice (line 93) | CmdTypeIntSlice constant CmdTypeFloatSlice (line 94) | CmdTypeFloatSlice constant CmdTypeBoolSlice (line 95) | CmdTypeBoolSlice constant CmdTypeMapStringString (line 96) | CmdTypeMapStringString constant CmdTypeMapStringInt (line 97) | CmdTypeMapStringInt constant CmdTypeMapStringInterface (line 98) | CmdTypeMapStringInterface constant CmdTypeMapStringInterfaceSlice (line 99) | CmdTypeMapStringInterfaceSlice constant CmdTypeSlice (line 100) | CmdTypeSlice constant CmdTypeStatus (line 101) | CmdTypeStatus constant CmdTypeDuration (line 102) | CmdTypeDuration constant CmdTypeTime (line 103) | CmdTypeTime constant CmdTypeKeyValueSlice (line 104) | CmdTypeKeyValueSlice constant CmdTypeStringStructMap (line 105) | CmdTypeStringStructMap constant CmdTypeXMessageSlice (line 106) | CmdTypeXMessageSlice constant CmdTypeXStreamSlice (line 107) | CmdTypeXStreamSlice constant CmdTypeXPending (line 108) | CmdTypeXPending constant CmdTypeXPendingExt (line 109) | CmdTypeXPendingExt constant CmdTypeXAutoClaim (line 110) | CmdTypeXAutoClaim constant CmdTypeXAutoClaimJustID (line 111) | CmdTypeXAutoClaimJustID constant CmdTypeXInfoConsumers (line 112) | CmdTypeXInfoConsumers constant CmdTypeXInfoGroups (line 113) | CmdTypeXInfoGroups constant CmdTypeXInfoStream (line 114) | CmdTypeXInfoStream constant CmdTypeXInfoStreamFull (line 115) | CmdTypeXInfoStreamFull constant CmdTypeZSlice (line 116) | CmdTypeZSlice constant CmdTypeZWithKey (line 117) | CmdTypeZWithKey constant CmdTypeScan (line 118) | CmdTypeScan constant CmdTypeClusterSlots (line 119) | CmdTypeClusterSlots constant CmdTypeGeoLocation (line 120) | CmdTypeGeoLocation constant CmdTypeGeoSearchLocation (line 121) | CmdTypeGeoSearchLocation constant CmdTypeGeoPos (line 122) | CmdTypeGeoPos constant CmdTypeCommandsInfo (line 123) | CmdTypeCommandsInfo constant CmdTypeSlowLog (line 124) | CmdTypeSlowLog constant CmdTypeMapStringStringSlice (line 125) | CmdTypeMapStringStringSlice constant CmdTypeMapMapStringInterface (line 126) | CmdTypeMapMapStringInterface constant CmdTypeKeyValues (line 127) | CmdTypeKeyValues constant CmdTypeZSliceWithKey (line 128) | CmdTypeZSliceWithKey constant CmdTypeFunctionList (line 129) | CmdTypeFunctionList constant CmdTypeFunctionStats (line 130) | CmdTypeFunctionStats constant CmdTypeLCS (line 131) | CmdTypeLCS constant CmdTypeKeyFlags (line 132) | CmdTypeKeyFlags constant CmdTypeClusterLinks (line 133) | CmdTypeClusterLinks constant CmdTypeClusterShards (line 134) | CmdTypeClusterShards constant CmdTypeRankWithScore (line 135) | CmdTypeRankWithScore constant CmdTypeClientInfo (line 136) | CmdTypeClientInfo constant CmdTypeACLLog (line 137) | CmdTypeACLLog constant CmdTypeInfo (line 138) | CmdTypeInfo constant CmdTypeMonitor (line 139) | CmdTypeMonitor constant CmdTypeJSON (line 140) | CmdTypeJSON constant CmdTypeJSONSlice (line 141) | CmdTypeJSONSlice constant CmdTypeIntPointerSlice (line 142) | CmdTypeIntPointerSlice constant CmdTypeScanDump (line 143) | CmdTypeScanDump constant CmdTypeBFInfo (line 144) | CmdTypeBFInfo constant CmdTypeCFInfo (line 145) | CmdTypeCFInfo constant CmdTypeCMSInfo (line 146) | CmdTypeCMSInfo constant CmdTypeTopKInfo (line 147) | CmdTypeTopKInfo constant CmdTypeTDigestInfo (line 148) | CmdTypeTDigestInfo constant CmdTypeFTSynDump (line 149) | CmdTypeFTSynDump constant CmdTypeAggregate (line 150) | CmdTypeAggregate constant CmdTypeFTInfo (line 151) | CmdTypeFTInfo constant CmdTypeFTSpellCheck (line 152) | CmdTypeFTSpellCheck constant CmdTypeFTSearch (line 153) | CmdTypeFTSearch constant CmdTypeTSTimestampValue (line 154) | CmdTypeTSTimestampValue constant CmdTypeTSTimestampValueSlice (line 155) | CmdTypeTSTimestampValueSlice constant CmdTypeHotKeys (line 156) | CmdTypeHotKeys type CmdTypeXAutoClaimValue (line 160) | type CmdTypeXAutoClaimValue struct type CmdTypeXAutoClaimJustIDValue (line 165) | type CmdTypeXAutoClaimJustIDValue struct type CmdTypeScanValue (line 170) | type CmdTypeScanValue struct type CmdTypeKeyValuesValue (line 175) | type CmdTypeKeyValuesValue struct type CmdTypeZSliceWithKeyValue (line 180) | type CmdTypeZSliceWithKeyValue struct type Cmder (line 186) | type Cmder interface function setCmdsErr (line 222) | func setCmdsErr(cmds []Cmder, e error) { function cmdsFirstErr (line 230) | func cmdsFirstErr(cmds []Cmder) error { function writeCmds (line 239) | func writeCmds(wr *proto.Writer, cmds []Cmder) error { function writeCmd (line 248) | func writeCmd(wr *proto.Writer, cmd Cmder) error { function cmdFirstKeyPos (line 255) | func cmdFirstKeyPos(cmd Cmder) int { function cmdString (line 285) | func cmdString(cmd Cmder, val interface{}) string { type baseCmd (line 308) | type baseCmd struct method Name (line 321) | func (cmd *baseCmd) Name() string { method FullName (line 329) | func (cmd *baseCmd) FullName() string { method Args (line 344) | func (cmd *baseCmd) Args() []interface{} { method stringArg (line 348) | func (cmd *baseCmd) stringArg(pos int) string { method firstKeyPos (line 364) | func (cmd *baseCmd) firstKeyPos() int8 { method SetFirstKeyPos (line 368) | func (cmd *baseCmd) SetFirstKeyPos(keyPos int8) { method stepCount (line 372) | func (cmd *baseCmd) stepCount() int8 { method SetStepCount (line 376) | func (cmd *baseCmd) SetStepCount(stepCount int8) { method SetErr (line 380) | func (cmd *baseCmd) SetErr(e error) { method Err (line 384) | func (cmd *baseCmd) Err() error { method readTimeout (line 388) | func (cmd *baseCmd) readTimeout() *time.Duration { method setReadTimeout (line 392) | func (cmd *baseCmd) setReadTimeout(d time.Duration) { method readRawReply (line 396) | func (cmd *baseCmd) readRawReply(rd *proto.Reader) (err error) { method GetCmdType (line 401) | func (cmd *baseCmd) GetCmdType() CmdType { method cloneBaseCmd (line 405) | func (cmd *baseCmd) cloneBaseCmd() baseCmd { type Cmd (line 430) | type Cmd struct method String (line 446) | func (cmd *Cmd) String() string { method SetVal (line 450) | func (cmd *Cmd) SetVal(val interface{}) { method Val (line 454) | func (cmd *Cmd) Val() interface{} { method Result (line 458) | func (cmd *Cmd) Result() (interface{}, error) { method Text (line 462) | func (cmd *Cmd) Text() (string, error) { method Int (line 479) | func (cmd *Cmd) Int() (int, error) { method Int64 (line 494) | func (cmd *Cmd) Int64() (int64, error) { method Uint64 (line 513) | func (cmd *Cmd) Uint64() (uint64, error) { method Float32 (line 532) | func (cmd *Cmd) Float32() (float32, error) { method Float64 (line 555) | func (cmd *Cmd) Float64() (float64, error) { method Bool (line 574) | func (cmd *Cmd) Bool() (bool, error) { method Slice (line 595) | func (cmd *Cmd) Slice() ([]interface{}, error) { method StringSlice (line 607) | func (cmd *Cmd) StringSlice() ([]string, error) { method Int64Slice (line 624) | func (cmd *Cmd) Int64Slice() ([]int64, error) { method Uint64Slice (line 641) | func (cmd *Cmd) Uint64Slice() ([]uint64, error) { method Float32Slice (line 658) | func (cmd *Cmd) Float32Slice() ([]float32, error) { method Float64Slice (line 675) | func (cmd *Cmd) Float64Slice() ([]float64, error) { method BoolSlice (line 692) | func (cmd *Cmd) BoolSlice() ([]bool, error) { method readReply (line 709) | func (cmd *Cmd) readReply(rd *proto.Reader) (err error) { method Clone (line 714) | func (cmd *Cmd) Clone() Cmder { function NewCmd (line 436) | func NewCmd(ctx context.Context, args ...interface{}) *Cmd { function toString (line 469) | func toString(val interface{}) (string, error) { function toInt64 (line 501) | func toInt64(val interface{}) (int64, error) { function toUint64 (line 520) | func toUint64(val interface{}) (uint64, error) { function toFloat32 (line 539) | func toFloat32(val interface{}) (float32, error) { function toFloat64 (line 562) | func toFloat64(val interface{}) (float64, error) { function toBool (line 581) | func toBool(val interface{}) (bool, error) { type SliceCmd (line 723) | type SliceCmd struct method SetVal (line 741) | func (cmd *SliceCmd) SetVal(val []interface{}) { method Val (line 745) | func (cmd *SliceCmd) Val() []interface{} { method Result (line 749) | func (cmd *SliceCmd) Result() ([]interface{}, error) { method String (line 753) | func (cmd *SliceCmd) String() string { method Scan (line 759) | func (cmd *SliceCmd) Scan(dst interface{}) error { method readReply (line 777) | func (cmd *SliceCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 782) | func (cmd *SliceCmd) Clone() Cmder { function NewSliceCmd (line 731) | func NewSliceCmd(ctx context.Context, args ...interface{}) *SliceCmd { type StatusCmd (line 796) | type StatusCmd struct method SetVal (line 814) | func (cmd *StatusCmd) SetVal(val string) { method Val (line 818) | func (cmd *StatusCmd) Val() string { method Result (line 822) | func (cmd *StatusCmd) Result() (string, error) { method Bytes (line 826) | func (cmd *StatusCmd) Bytes() ([]byte, error) { method String (line 830) | func (cmd *StatusCmd) String() string { method readReply (line 834) | func (cmd *StatusCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 839) | func (cmd *StatusCmd) Clone() Cmder { function NewStatusCmd (line 804) | func NewStatusCmd(ctx context.Context, args ...interface{}) *StatusCmd { type IntCmd (line 848) | type IntCmd struct method SetVal (line 866) | func (cmd *IntCmd) SetVal(val int64) { method Val (line 870) | func (cmd *IntCmd) Val() int64 { method Result (line 874) | func (cmd *IntCmd) Result() (int64, error) { method Uint64 (line 878) | func (cmd *IntCmd) Uint64() (uint64, error) { method String (line 882) | func (cmd *IntCmd) String() string { method readReply (line 886) | func (cmd *IntCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 891) | func (cmd *IntCmd) Clone() Cmder { function NewIntCmd (line 856) | func NewIntCmd(ctx context.Context, args ...interface{}) *IntCmd { type DigestCmd (line 913) | type DigestCmd struct method SetVal (line 930) | func (cmd *DigestCmd) SetVal(val uint64) { method Val (line 934) | func (cmd *DigestCmd) Val() uint64 { method Result (line 938) | func (cmd *DigestCmd) Result() (uint64, error) { method String (line 942) | func (cmd *DigestCmd) String() string { method Clone (line 946) | func (cmd *DigestCmd) Clone() Cmder { method readReply (line 953) | func (cmd *DigestCmd) readReply(rd *proto.Reader) (err error) { function NewDigestCmd (line 921) | func NewDigestCmd(ctx context.Context, args ...interface{}) *DigestCmd { type IntSliceCmd (line 969) | type IntSliceCmd struct method SetVal (line 987) | func (cmd *IntSliceCmd) SetVal(val []int64) { method Val (line 991) | func (cmd *IntSliceCmd) Val() []int64 { method Result (line 995) | func (cmd *IntSliceCmd) Result() ([]int64, error) { method String (line 999) | func (cmd *IntSliceCmd) String() string { method readReply (line 1003) | func (cmd *IntSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 1017) | func (cmd *IntSliceCmd) Clone() Cmder { function NewIntSliceCmd (line 977) | func NewIntSliceCmd(ctx context.Context, args ...interface{}) *IntSliceC... type DurationCmd (line 1031) | type DurationCmd struct method SetVal (line 1051) | func (cmd *DurationCmd) SetVal(val time.Duration) { method Val (line 1055) | func (cmd *DurationCmd) Val() time.Duration { method Result (line 1059) | func (cmd *DurationCmd) Result() (time.Duration, error) { method String (line 1063) | func (cmd *DurationCmd) String() string { method readReply (line 1067) | func (cmd *DurationCmd) readReply(rd *proto.Reader) error { method Clone (line 1083) | func (cmd *DurationCmd) Clone() Cmder { function NewDurationCmd (line 1040) | func NewDurationCmd(ctx context.Context, precision time.Duration, args .... type TimeCmd (line 1093) | type TimeCmd struct method SetVal (line 1111) | func (cmd *TimeCmd) SetVal(val time.Time) { method Val (line 1115) | func (cmd *TimeCmd) Val() time.Time { method Result (line 1119) | func (cmd *TimeCmd) Result() (time.Time, error) { method String (line 1123) | func (cmd *TimeCmd) String() string { method readReply (line 1127) | func (cmd *TimeCmd) readReply(rd *proto.Reader) error { method Clone (line 1143) | func (cmd *TimeCmd) Clone() Cmder { function NewTimeCmd (line 1101) | func NewTimeCmd(ctx context.Context, args ...interface{}) *TimeCmd { type BoolCmd (line 1152) | type BoolCmd struct method SetVal (line 1170) | func (cmd *BoolCmd) SetVal(val bool) { method Val (line 1174) | func (cmd *BoolCmd) Val() bool { method Result (line 1178) | func (cmd *BoolCmd) Result() (bool, error) { method String (line 1182) | func (cmd *BoolCmd) String() string { method readReply (line 1186) | func (cmd *BoolCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 1198) | func (cmd *BoolCmd) Clone() Cmder { function NewBoolCmd (line 1160) | func NewBoolCmd(ctx context.Context, args ...interface{}) *BoolCmd { type StringCmd (line 1207) | type StringCmd struct method SetVal (line 1225) | func (cmd *StringCmd) SetVal(val string) { method Val (line 1229) | func (cmd *StringCmd) Val() string { method Result (line 1233) | func (cmd *StringCmd) Result() (string, error) { method Bytes (line 1237) | func (cmd *StringCmd) Bytes() ([]byte, error) { method Bool (line 1241) | func (cmd *StringCmd) Bool() (bool, error) { method Int (line 1248) | func (cmd *StringCmd) Int() (int, error) { method Int64 (line 1255) | func (cmd *StringCmd) Int64() (int64, error) { method Uint64 (line 1262) | func (cmd *StringCmd) Uint64() (uint64, error) { method Float32 (line 1269) | func (cmd *StringCmd) Float32() (float32, error) { method Float64 (line 1280) | func (cmd *StringCmd) Float64() (float64, error) { method Time (line 1287) | func (cmd *StringCmd) Time() (time.Time, error) { method Scan (line 1294) | func (cmd *StringCmd) Scan(val interface{}) error { method String (line 1301) | func (cmd *StringCmd) String() string { method readReply (line 1305) | func (cmd *StringCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 1310) | func (cmd *StringCmd) Clone() Cmder { function NewStringCmd (line 1215) | func NewStringCmd(ctx context.Context, args ...interface{}) *StringCmd { type FloatCmd (line 1319) | type FloatCmd struct method SetVal (line 1337) | func (cmd *FloatCmd) SetVal(val float64) { method Val (line 1341) | func (cmd *FloatCmd) Val() float64 { method Result (line 1345) | func (cmd *FloatCmd) Result() (float64, error) { method String (line 1349) | func (cmd *FloatCmd) String() string { method readReply (line 1353) | func (cmd *FloatCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 1358) | func (cmd *FloatCmd) Clone() Cmder { function NewFloatCmd (line 1327) | func NewFloatCmd(ctx context.Context, args ...interface{}) *FloatCmd { type FloatSliceCmd (line 1367) | type FloatSliceCmd struct method SetVal (line 1385) | func (cmd *FloatSliceCmd) SetVal(val []float64) { method Val (line 1389) | func (cmd *FloatSliceCmd) Val() []float64 { method Result (line 1393) | func (cmd *FloatSliceCmd) Result() ([]float64, error) { method String (line 1397) | func (cmd *FloatSliceCmd) String() string { method readReply (line 1401) | func (cmd *FloatSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 1421) | func (cmd *FloatSliceCmd) Clone() Cmder { function NewFloatSliceCmd (line 1375) | func NewFloatSliceCmd(ctx context.Context, args ...interface{}) *FloatSl... type StringSliceCmd (line 1435) | type StringSliceCmd struct method SetVal (line 1453) | func (cmd *StringSliceCmd) SetVal(val []string) { method Val (line 1457) | func (cmd *StringSliceCmd) Val() []string { method Result (line 1461) | func (cmd *StringSliceCmd) Result() ([]string, error) { method String (line 1465) | func (cmd *StringSliceCmd) String() string { method ScanSlice (line 1469) | func (cmd *StringSliceCmd) ScanSlice(container interface{}) error { method readReply (line 1473) | func (cmd *StringSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 1492) | func (cmd *StringSliceCmd) Clone() Cmder { function NewStringSliceCmd (line 1443) | func NewStringSliceCmd(ctx context.Context, args ...interface{}) *String... type KeyValue (line 1506) | type KeyValue struct type KeyValueSliceCmd (line 1511) | type KeyValueSliceCmd struct method SetVal (line 1529) | func (cmd *KeyValueSliceCmd) SetVal(val []KeyValue) { method Val (line 1533) | func (cmd *KeyValueSliceCmd) Val() []KeyValue { method Result (line 1537) | func (cmd *KeyValueSliceCmd) Result() ([]KeyValue, error) { method String (line 1541) | func (cmd *KeyValueSliceCmd) String() string { method readReply (line 1556) | func (cmd *KeyValueSliceCmd) readReply(rd *proto.Reader) error { // no... method Clone (line 1599) | func (cmd *KeyValueSliceCmd) Clone() Cmder { function NewKeyValueSliceCmd (line 1519) | func NewKeyValueSliceCmd(ctx context.Context, args ...interface{}) *KeyV... type BoolSliceCmd (line 1613) | type BoolSliceCmd struct method SetVal (line 1631) | func (cmd *BoolSliceCmd) SetVal(val []bool) { method Val (line 1635) | func (cmd *BoolSliceCmd) Val() []bool { method Result (line 1639) | func (cmd *BoolSliceCmd) Result() ([]bool, error) { method String (line 1643) | func (cmd *BoolSliceCmd) String() string { method readReply (line 1647) | func (cmd *BoolSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 1661) | func (cmd *BoolSliceCmd) Clone() Cmder { function NewBoolSliceCmd (line 1621) | func NewBoolSliceCmd(ctx context.Context, args ...interface{}) *BoolSlic... type MapStringStringCmd (line 1675) | type MapStringStringCmd struct method Val (line 1693) | func (cmd *MapStringStringCmd) Val() map[string]string { method SetVal (line 1697) | func (cmd *MapStringStringCmd) SetVal(val map[string]string) { method Result (line 1701) | func (cmd *MapStringStringCmd) Result() (map[string]string, error) { method String (line 1705) | func (cmd *MapStringStringCmd) String() string { method Scan (line 1711) | func (cmd *MapStringStringCmd) Scan(dest interface{}) error { method readReply (line 1730) | func (cmd *MapStringStringCmd) readReply(rd *proto.Reader) error { method Clone (line 1753) | func (cmd *MapStringStringCmd) Clone() Cmder { function NewMapStringStringCmd (line 1683) | func NewMapStringStringCmd(ctx context.Context, args ...interface{}) *Ma... type MapStringIntCmd (line 1769) | type MapStringIntCmd struct method SetVal (line 1787) | func (cmd *MapStringIntCmd) SetVal(val map[string]int64) { method Val (line 1791) | func (cmd *MapStringIntCmd) Val() map[string]int64 { method Result (line 1795) | func (cmd *MapStringIntCmd) Result() (map[string]int64, error) { method String (line 1799) | func (cmd *MapStringIntCmd) String() string { method readReply (line 1803) | func (cmd *MapStringIntCmd) readReply(rd *proto.Reader) error { method Clone (line 1825) | func (cmd *MapStringIntCmd) Clone() Cmder { function NewMapStringIntCmd (line 1777) | func NewMapStringIntCmd(ctx context.Context, args ...interface{}) *MapSt... type MapStringSliceInterfaceCmd (line 1840) | type MapStringSliceInterfaceCmd struct method String (line 1855) | func (cmd *MapStringSliceInterfaceCmd) String() string { method SetVal (line 1859) | func (cmd *MapStringSliceInterfaceCmd) SetVal(val map[string][]interfa... method Result (line 1863) | func (cmd *MapStringSliceInterfaceCmd) Result() (map[string][]interfac... method Val (line 1867) | func (cmd *MapStringSliceInterfaceCmd) Val() map[string][]interface{} { method readReply (line 1871) | func (cmd *MapStringSliceInterfaceCmd) readReply(rd *proto.Reader) (er... method Clone (line 1936) | func (cmd *MapStringSliceInterfaceCmd) Clone() Cmder { function NewMapStringSliceInterfaceCmd (line 1845) | func NewMapStringSliceInterfaceCmd(ctx context.Context, args ...interfac... type StringStructMapCmd (line 1956) | type StringStructMapCmd struct method SetVal (line 1974) | func (cmd *StringStructMapCmd) SetVal(val map[string]struct{}) { method Val (line 1978) | func (cmd *StringStructMapCmd) Val() map[string]struct{} { method Result (line 1982) | func (cmd *StringStructMapCmd) Result() (map[string]struct{}, error) { method String (line 1986) | func (cmd *StringStructMapCmd) String() string { method readReply (line 1990) | func (cmd *StringStructMapCmd) readReply(rd *proto.Reader) error { method Clone (line 2007) | func (cmd *StringStructMapCmd) Clone() Cmder { function NewStringStructMapCmd (line 1964) | func NewStringStructMapCmd(ctx context.Context, args ...interface{}) *St... type XMessage (line 2020) | type XMessage struct type XMessageSliceCmd (line 2031) | type XMessageSliceCmd struct method SetVal (line 2049) | func (cmd *XMessageSliceCmd) SetVal(val []XMessage) { method Val (line 2053) | func (cmd *XMessageSliceCmd) Val() []XMessage { method Result (line 2057) | func (cmd *XMessageSliceCmd) Result() ([]XMessage, error) { method String (line 2061) | func (cmd *XMessageSliceCmd) String() string { method readReply (line 2065) | func (cmd *XMessageSliceCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 2070) | func (cmd *XMessageSliceCmd) Clone() Cmder { function NewXMessageSliceCmd (line 2039) | func NewXMessageSliceCmd(ctx context.Context, args ...interface{}) *XMes... function readXMessageSlice (line 2092) | func readXMessageSlice(rd *proto.Reader) ([]XMessage, error) { function readXMessage (line 2107) | func readXMessage(rd *proto.Reader) (XMessage, error) { function stringInterfaceMapParser (line 2150) | func stringInterfaceMapParser(rd *proto.Reader) (map[string]interface{},... type XStream (line 2175) | type XStream struct type XStreamSliceCmd (line 2180) | type XStreamSliceCmd struct method SetVal (line 2198) | func (cmd *XStreamSliceCmd) SetVal(val []XStream) { method Val (line 2202) | func (cmd *XStreamSliceCmd) Val() []XStream { method Result (line 2206) | func (cmd *XStreamSliceCmd) Result() ([]XStream, error) { method String (line 2210) | func (cmd *XStreamSliceCmd) String() string { method readReply (line 2214) | func (cmd *XStreamSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 2246) | func (cmd *XStreamSliceCmd) Clone() Cmder { function NewXStreamSliceCmd (line 2188) | func NewXStreamSliceCmd(ctx context.Context, args ...interface{}) *XStre... type XPending (line 2278) | type XPending struct type XPendingCmd (line 2285) | type XPendingCmd struct method SetVal (line 2302) | func (cmd *XPendingCmd) SetVal(val *XPending) { method Val (line 2306) | func (cmd *XPendingCmd) Val() *XPending { method Result (line 2310) | func (cmd *XPendingCmd) Result() (*XPending, error) { method String (line 2314) | func (cmd *XPendingCmd) String() string { method readReply (line 2318) | func (cmd *XPendingCmd) readReply(rd *proto.Reader) error { method Clone (line 2360) | func (cmd *XPendingCmd) Clone() Cmder { function NewXPendingCmd (line 2292) | func NewXPendingCmd(ctx context.Context, args ...interface{}) *XPendingC... type XPendingExt (line 2383) | type XPendingExt struct type XPendingExtCmd (line 2390) | type XPendingExtCmd struct method SetVal (line 2407) | func (cmd *XPendingExtCmd) SetVal(val []XPendingExt) { method Val (line 2411) | func (cmd *XPendingExtCmd) Val() []XPendingExt { method Result (line 2415) | func (cmd *XPendingExtCmd) Result() ([]XPendingExt, error) { method String (line 2419) | func (cmd *XPendingExtCmd) String() string { method readReply (line 2423) | func (cmd *XPendingExtCmd) readReply(rd *proto.Reader) error { method Clone (line 2457) | func (cmd *XPendingExtCmd) Clone() Cmder { function NewXPendingExtCmd (line 2397) | func NewXPendingExtCmd(ctx context.Context, args ...interface{}) *XPendi... type XAutoClaimCmd (line 2471) | type XAutoClaimCmd struct method SetVal (line 2490) | func (cmd *XAutoClaimCmd) SetVal(val []XMessage, start string) { method Val (line 2495) | func (cmd *XAutoClaimCmd) Val() (messages []XMessage, start string) { method Result (line 2499) | func (cmd *XAutoClaimCmd) Result() (messages []XMessage, start string,... method String (line 2503) | func (cmd *XAutoClaimCmd) String() string { method readReply (line 2507) | func (cmd *XAutoClaimCmd) readReply(rd *proto.Reader) error { method Clone (line 2540) | func (cmd *XAutoClaimCmd) Clone() Cmder { function NewXAutoClaimCmd (line 2480) | func NewXAutoClaimCmd(ctx context.Context, args ...interface{}) *XAutoCl... type XAutoClaimJustIDCmd (line 2565) | type XAutoClaimJustIDCmd struct method SetVal (line 2584) | func (cmd *XAutoClaimJustIDCmd) SetVal(val []string, start string) { method Val (line 2589) | func (cmd *XAutoClaimJustIDCmd) Val() (ids []string, start string) { method Result (line 2593) | func (cmd *XAutoClaimJustIDCmd) Result() (ids []string, start string, ... method String (line 2597) | func (cmd *XAutoClaimJustIDCmd) String() string { method readReply (line 2601) | func (cmd *XAutoClaimJustIDCmd) readReply(rd *proto.Reader) error { method Clone (line 2642) | func (cmd *XAutoClaimJustIDCmd) Clone() Cmder { function NewXAutoClaimJustIDCmd (line 2574) | func NewXAutoClaimJustIDCmd(ctx context.Context, args ...interface{}) *X... type XInfoConsumersCmd (line 2657) | type XInfoConsumersCmd struct method SetVal (line 2681) | func (cmd *XInfoConsumersCmd) SetVal(val []XInfoConsumer) { method Val (line 2685) | func (cmd *XInfoConsumersCmd) Val() []XInfoConsumer { method Result (line 2689) | func (cmd *XInfoConsumersCmd) Result() ([]XInfoConsumer, error) { method String (line 2693) | func (cmd *XInfoConsumersCmd) String() string { method readReply (line 2697) | func (cmd *XInfoConsumersCmd) readReply(rd *proto.Reader) error { method Clone (line 2742) | func (cmd *XInfoConsumersCmd) Clone() Cmder { type XInfoConsumer (line 2662) | type XInfoConsumer struct function NewXInfoConsumersCmd (line 2671) | func NewXInfoConsumersCmd(ctx context.Context, stream string, group stri... type XInfoGroupsCmd (line 2756) | type XInfoGroupsCmd struct method SetVal (line 2784) | func (cmd *XInfoGroupsCmd) SetVal(val []XInfoGroup) { method Val (line 2788) | func (cmd *XInfoGroupsCmd) Val() []XInfoGroup { method Result (line 2792) | func (cmd *XInfoGroupsCmd) Result() ([]XInfoGroup, error) { method String (line 2796) | func (cmd *XInfoGroupsCmd) String() string { method readReply (line 2800) | func (cmd *XInfoGroupsCmd) readReply(rd *proto.Reader) error { method Clone (line 2868) | func (cmd *XInfoGroupsCmd) Clone() Cmder { type XInfoGroup (line 2761) | type XInfoGroup struct function NewXInfoGroupsCmd (line 2774) | func NewXInfoGroupsCmd(ctx context.Context, stream string) *XInfoGroupsC... type XInfoStreamCmd (line 2882) | type XInfoStreamCmd struct method SetVal (line 2919) | func (cmd *XInfoStreamCmd) SetVal(val *XInfoStream) { method Val (line 2923) | func (cmd *XInfoStreamCmd) Val() *XInfoStream { method Result (line 2927) | func (cmd *XInfoStreamCmd) Result() (*XInfoStream, error) { method String (line 2931) | func (cmd *XInfoStreamCmd) String() string { method readReply (line 2935) | func (cmd *XInfoStreamCmd) readReply(rd *proto.Reader) error { method Clone (line 3035) | func (cmd *XInfoStreamCmd) Clone() Cmder { type XInfoStream (line 2887) | type XInfoStream struct function NewXInfoStreamCmd (line 2909) | func NewXInfoStreamCmd(ctx context.Context, stream string) *XInfoStreamC... type XInfoStreamFullCmd (line 3076) | type XInfoStreamFullCmd struct method SetVal (line 3142) | func (cmd *XInfoStreamFullCmd) SetVal(val *XInfoStreamFull) { method Val (line 3146) | func (cmd *XInfoStreamFullCmd) Val() *XInfoStreamFull { method Result (line 3150) | func (cmd *XInfoStreamFullCmd) Result() (*XInfoStreamFull, error) { method String (line 3154) | func (cmd *XInfoStreamFullCmd) String() string { method readReply (line 3158) | func (cmd *XInfoStreamFullCmd) readReply(rd *proto.Reader) error { method Clone (line 3452) | func (cmd *XInfoStreamFullCmd) Clone() Cmder { type XInfoStreamFull (line 3081) | type XInfoStreamFull struct type XInfoStreamGroup (line 3099) | type XInfoStreamGroup struct type XInfoStreamGroupPending (line 3109) | type XInfoStreamGroupPending struct type XInfoStreamConsumer (line 3116) | type XInfoStreamConsumer struct type XInfoStreamConsumerPending (line 3124) | type XInfoStreamConsumerPending struct function NewXInfoStreamFullCmd (line 3132) | func NewXInfoStreamFullCmd(ctx context.Context, args ...interface{}) *XI... function readStreamGroups (line 3255) | func readStreamGroups(rd *proto.Reader) ([]XInfoStreamGroup, error) { function readXInfoStreamGroupPending (line 3324) | func readXInfoStreamGroupPending(rd *proto.Reader) ([]XInfoStreamGroupPe... function readXInfoStreamConsumers (line 3366) | func readXInfoStreamConsumers(rd *proto.Reader) ([]XInfoStreamConsumer, ... type ZSliceCmd (line 3493) | type ZSliceCmd struct method SetVal (line 3511) | func (cmd *ZSliceCmd) SetVal(val []Z) { method Val (line 3515) | func (cmd *ZSliceCmd) Val() []Z { method Result (line 3519) | func (cmd *ZSliceCmd) Result() ([]Z, error) { method String (line 3523) | func (cmd *ZSliceCmd) String() string { method readReply (line 3527) | func (cmd *ZSliceCmd) readReply(rd *proto.Reader) error { // nolint:dupl method Clone (line 3570) | func (cmd *ZSliceCmd) Clone() Cmder { function NewZSliceCmd (line 3501) | func NewZSliceCmd(ctx context.Context, args ...interface{}) *ZSliceCmd { type ZWithKeyCmd (line 3584) | type ZWithKeyCmd struct method SetVal (line 3602) | func (cmd *ZWithKeyCmd) SetVal(val *ZWithKey) { method Val (line 3606) | func (cmd *ZWithKeyCmd) Val() *ZWithKey { method Result (line 3610) | func (cmd *ZWithKeyCmd) Result() (*ZWithKey, error) { method String (line 3614) | func (cmd *ZWithKeyCmd) String() string { method readReply (line 3618) | func (cmd *ZWithKeyCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 3637) | func (cmd *ZWithKeyCmd) Clone() Cmder { function NewZWithKeyCmd (line 3592) | func NewZWithKeyCmd(ctx context.Context, args ...interface{}) *ZWithKeyC... type ScanCmd (line 3656) | type ScanCmd struct method SetVal (line 3678) | func (cmd *ScanCmd) SetVal(page []string, cursor uint64) { method Val (line 3683) | func (cmd *ScanCmd) Val() (keys []string, cursor uint64) { method Result (line 3687) | func (cmd *ScanCmd) Result() (keys []string, cursor uint64, err error) { method String (line 3691) | func (cmd *ScanCmd) String() string { method readReply (line 3695) | func (cmd *ScanCmd) readReply(rd *proto.Reader) error { method Clone (line 3720) | func (cmd *ScanCmd) Clone() Cmder { method Iterator (line 3735) | func (cmd *ScanCmd) Iterator() *ScanIterator { function NewScanCmd (line 3667) | func NewScanCmd(ctx context.Context, process cmdable, args ...interface{... type ClusterNode (line 3743) | type ClusterNode struct type ClusterSlot (line 3749) | type ClusterSlot struct type ClusterSlotsCmd (line 3755) | type ClusterSlotsCmd struct method SetVal (line 3773) | func (cmd *ClusterSlotsCmd) SetVal(val []ClusterSlot) { method Val (line 3777) | func (cmd *ClusterSlotsCmd) Val() []ClusterSlot { method Result (line 3781) | func (cmd *ClusterSlotsCmd) Result() ([]ClusterSlot, error) { method String (line 3785) | func (cmd *ClusterSlotsCmd) String() string { method readReply (line 3789) | func (cmd *ClusterSlotsCmd) readReply(rd *proto.Reader) error { method Clone (line 3881) | func (cmd *ClusterSlotsCmd) Clone() Cmder { function NewClusterSlotsCmd (line 3763) | func NewClusterSlotsCmd(ctx context.Context, args ...interface{}) *Clust... type GeoLocation (line 3916) | type GeoLocation struct type GeoRadiusQuery (line 3923) | type GeoRadiusQuery struct type GeoLocationCmd (line 3940) | type GeoLocationCmd struct method SetVal (line 3996) | func (cmd *GeoLocationCmd) SetVal(locations []GeoLocation) { method Val (line 4000) | func (cmd *GeoLocationCmd) Val() []GeoLocation { method Result (line 4004) | func (cmd *GeoLocationCmd) Result() ([]GeoLocation, error) { method String (line 4008) | func (cmd *GeoLocationCmd) String() string { method readReply (line 4012) | func (cmd *GeoLocationCmd) readReply(rd *proto.Reader) error { method Clone (line 4062) | func (cmd *GeoLocationCmd) Clone() Cmder { function NewGeoLocationCmd (line 3949) | func NewGeoLocationCmd(ctx context.Context, q *GeoRadiusQuery, args ...i... function geoLocationArgs (line 3960) | func geoLocationArgs(q *GeoRadiusQuery, args ...interface{}) []interface... type GeoSearchQuery (line 4093) | type GeoSearchQuery struct type GeoSearchLocationQuery (line 4117) | type GeoSearchLocationQuery struct type GeoSearchStoreQuery (line 4125) | type GeoSearchStoreQuery struct function geoSearchLocationArgs (line 4134) | func geoSearchLocationArgs(q *GeoSearchLocationQuery, args []interface{}... function geoSearchArgs (line 4150) | func geoSearchArgs(q *GeoSearchQuery, args []interface{}) []interface{} { type GeoSearchLocationCmd (line 4183) | type GeoSearchLocationCmd struct method SetVal (line 4205) | func (cmd *GeoSearchLocationCmd) SetVal(val []GeoLocation) { method Val (line 4209) | func (cmd *GeoSearchLocationCmd) Val() []GeoLocation { method Result (line 4213) | func (cmd *GeoSearchLocationCmd) Result() ([]GeoLocation, error) { method String (line 4217) | func (cmd *GeoSearchLocationCmd) String() string { method readReply (line 4221) | func (cmd *GeoSearchLocationCmd) readReply(rd *proto.Reader) error { method Clone (line 4272) | func (cmd *GeoSearchLocationCmd) Clone() Cmder { function NewGeoSearchLocationCmd (line 4192) | func NewGeoSearchLocationCmd( type GeoPos (line 4308) | type GeoPos struct type GeoPosCmd (line 4312) | type GeoPosCmd struct method SetVal (line 4330) | func (cmd *GeoPosCmd) SetVal(val []*GeoPos) { method Val (line 4334) | func (cmd *GeoPosCmd) Val() []*GeoPos { method Result (line 4338) | func (cmd *GeoPosCmd) Result() ([]*GeoPos, error) { method String (line 4342) | func (cmd *GeoPosCmd) String() string { method readReply (line 4346) | func (cmd *GeoPosCmd) readReply(rd *proto.Reader) error { method Clone (line 4381) | func (cmd *GeoPosCmd) Clone() Cmder { function NewGeoPosCmd (line 4320) | func NewGeoPosCmd(ctx context.Context, args ...interface{}) *GeoPosCmd { type CommandInfo (line 4402) | type CommandInfo struct type CommandsInfoCmd (line 4414) | type CommandsInfoCmd struct method SetVal (line 4432) | func (cmd *CommandsInfoCmd) SetVal(val map[string]*CommandInfo) { method Val (line 4436) | func (cmd *CommandsInfoCmd) Val() map[string]*CommandInfo { method Result (line 4440) | func (cmd *CommandsInfoCmd) Result() (map[string]*CommandInfo, error) { method String (line 4444) | func (cmd *CommandsInfoCmd) String() string { method readReply (line 4448) | func (cmd *CommandsInfoCmd) readReply(rd *proto.Reader) error { method Clone (line 4580) | func (cmd *CommandsInfoCmd) Clone() Cmder { function NewCommandsInfoCmd (line 4422) | func NewCommandsInfoCmd(ctx context.Context, args ...interface{}) *Comma... type cmdsInfoCache (line 4615) | type cmdsInfoCache struct method Get (line 4629) | func (c *cmdsInfoCache) Get(ctx context.Context) (map[string]*CommandI... method Refresh (line 4652) | func (c *cmdsInfoCache) Refresh() { function newCmdsInfoCache (line 4623) | func newCmdsInfoCache(fn func(ctx context.Context) (map[string]*CommandI... constant requestPolicy (line 4660) | requestPolicy = "request_policy" constant responsePolicy (line 4661) | responsePolicy = "response_policy" function parseCommandPolicies (line 4663) | func parseCommandPolicies(commandInfoTips map[string]string, firstKeyPos... type SlowLog (line 4692) | type SlowLog struct type SlowLogCmd (line 4703) | type SlowLogCmd struct method SetVal (line 4721) | func (cmd *SlowLogCmd) SetVal(val []SlowLog) { method Val (line 4725) | func (cmd *SlowLogCmd) Val() []SlowLog { method Result (line 4729) | func (cmd *SlowLogCmd) Result() ([]SlowLog, error) { method String (line 4733) | func (cmd *SlowLogCmd) String() string { method readReply (line 4737) | func (cmd *SlowLogCmd) readReply(rd *proto.Reader) error { method Clone (line 4801) | func (cmd *SlowLogCmd) Clone() Cmder { function NewSlowLogCmd (line 4711) | func NewSlowLogCmd(ctx context.Context, args ...interface{}) *SlowLogCmd { type Latency (line 4827) | type Latency struct type LatencyCmd (line 4834) | type LatencyCmd struct method SetVal (line 4850) | func (cmd *LatencyCmd) SetVal(val []Latency) { method Val (line 4854) | func (cmd *LatencyCmd) Val() []Latency { method Result (line 4858) | func (cmd *LatencyCmd) Result() ([]Latency, error) { method String (line 4862) | func (cmd *LatencyCmd) String() string { method readReply (line 4866) | func (cmd *LatencyCmd) readReply(rd *proto.Reader) error { method Clone (line 4902) | func (cmd *LatencyCmd) Clone() Cmder { function NewLatencyCmd (line 4841) | func NewLatencyCmd(ctx context.Context, args ...interface{}) *LatencyCmd { type HotKeysSlotRange (line 4918) | type HotKeysSlotRange type HotKeysKeyEntry (line 4921) | type HotKeysKeyEntry struct type HotKeysResult (line 4928) | type HotKeysResult struct type HotKeysCmd (line 4947) | type HotKeysCmd struct method SetVal (line 4965) | func (cmd *HotKeysCmd) SetVal(val *HotKeysResult) { method Val (line 4969) | func (cmd *HotKeysCmd) Val() *HotKeysResult { method Result (line 4973) | func (cmd *HotKeysCmd) Result() (*HotKeysResult, error) { method String (line 4977) | func (cmd *HotKeysCmd) String() string { method readReply (line 4981) | func (cmd *HotKeysCmd) readReply(rd *proto.Reader) error { method Clone (line 5111) | func (cmd *HotKeysCmd) Clone() Cmder { function NewHotKeysCmd (line 4955) | func NewHotKeysCmd(ctx context.Context, args ...interface{}) *HotKeysCmd { function parseHotKeysKeyEntries (line 5095) | func parseHotKeysKeyEntries(v []interface{}) []HotKeysKeyEntry { type MapStringInterfaceCmd (line 5153) | type MapStringInterfaceCmd struct method SetVal (line 5171) | func (cmd *MapStringInterfaceCmd) SetVal(val map[string]interface{}) { method Val (line 5175) | func (cmd *MapStringInterfaceCmd) Val() map[string]interface{} { method Result (line 5179) | func (cmd *MapStringInterfaceCmd) Result() (map[string]interface{}, er... method String (line 5183) | func (cmd *MapStringInterfaceCmd) String() string { method readReply (line 5187) | func (cmd *MapStringInterfaceCmd) readReply(rd *proto.Reader) error { method Clone (line 5216) | func (cmd *MapStringInterfaceCmd) Clone() Cmder { function NewMapStringInterfaceCmd (line 5161) | func NewMapStringInterfaceCmd(ctx context.Context, args ...interface{}) ... type MapStringStringSliceCmd (line 5232) | type MapStringStringSliceCmd struct method SetVal (line 5250) | func (cmd *MapStringStringSliceCmd) SetVal(val []map[string]string) { method Val (line 5254) | func (cmd *MapStringStringSliceCmd) Val() []map[string]string { method Result (line 5258) | func (cmd *MapStringStringSliceCmd) Result() ([]map[string]string, err... method String (line 5262) | func (cmd *MapStringStringSliceCmd) String() string { method readReply (line 5266) | func (cmd *MapStringStringSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 5295) | func (cmd *MapStringStringSliceCmd) Clone() Cmder { function NewMapStringStringSliceCmd (line 5240) | func NewMapStringStringSliceCmd(ctx context.Context, args ...interface{}... type MapMapStringInterfaceCmd (line 5317) | type MapMapStringInterfaceCmd struct method String (line 5332) | func (cmd *MapMapStringInterfaceCmd) String() string { method SetVal (line 5336) | func (cmd *MapMapStringInterfaceCmd) SetVal(val map[string]interface{}) { method Result (line 5340) | func (cmd *MapMapStringInterfaceCmd) Result() (map[string]interface{},... method Val (line 5344) | func (cmd *MapMapStringInterfaceCmd) Val() map[string]interface{} { method readReply (line 5349) | func (cmd *MapMapStringInterfaceCmd) readReply(rd *proto.Reader) (err ... method Clone (line 5393) | func (cmd *MapMapStringInterfaceCmd) Clone() Cmder { function NewMapMapStringInterfaceCmd (line 5322) | func NewMapMapStringInterfaceCmd(ctx context.Context, args ...interface{... type MapStringInterfaceSliceCmd (line 5409) | type MapStringInterfaceSliceCmd struct method SetVal (line 5427) | func (cmd *MapStringInterfaceSliceCmd) SetVal(val []map[string]interfa... method Val (line 5431) | func (cmd *MapStringInterfaceSliceCmd) Val() []map[string]interface{} { method Result (line 5435) | func (cmd *MapStringInterfaceSliceCmd) Result() ([]map[string]interfac... method String (line 5439) | func (cmd *MapStringInterfaceSliceCmd) String() string { method readReply (line 5443) | func (cmd *MapStringInterfaceSliceCmd) readReply(rd *proto.Reader) err... method Clone (line 5473) | func (cmd *MapStringInterfaceSliceCmd) Clone() Cmder { function NewMapStringInterfaceSliceCmd (line 5417) | func NewMapStringInterfaceSliceCmd(ctx context.Context, args ...interfac... type KeyValuesCmd (line 5494) | type KeyValuesCmd struct method SetVal (line 5513) | func (cmd *KeyValuesCmd) SetVal(key string, val []string) { method Val (line 5518) | func (cmd *KeyValuesCmd) Val() (string, []string) { method Result (line 5522) | func (cmd *KeyValuesCmd) Result() (string, []string, error) { method String (line 5526) | func (cmd *KeyValuesCmd) String() string { method readReply (line 5530) | func (cmd *KeyValuesCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 5555) | func (cmd *KeyValuesCmd) Clone() Cmder { function NewKeyValuesCmd (line 5503) | func NewKeyValuesCmd(ctx context.Context, args ...interface{}) *KeyValue... type ZSliceWithKeyCmd (line 5570) | type ZSliceWithKeyCmd struct method SetVal (line 5589) | func (cmd *ZSliceWithKeyCmd) SetVal(key string, val []Z) { method Val (line 5594) | func (cmd *ZSliceWithKeyCmd) Val() (string, []Z) { method Result (line 5598) | func (cmd *ZSliceWithKeyCmd) Result() (string, []Z, error) { method String (line 5602) | func (cmd *ZSliceWithKeyCmd) String() string { method readReply (line 5606) | func (cmd *ZSliceWithKeyCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 5652) | func (cmd *ZSliceWithKeyCmd) Clone() Cmder { function NewZSliceWithKeyCmd (line 5579) | func NewZSliceWithKeyCmd(ctx context.Context, args ...interface{}) *ZSli... type Function (line 5665) | type Function struct type Library (line 5671) | type Library struct type FunctionListCmd (line 5678) | type FunctionListCmd struct method SetVal (line 5696) | func (cmd *FunctionListCmd) SetVal(val []Library) { method String (line 5700) | func (cmd *FunctionListCmd) String() string { method Val (line 5704) | func (cmd *FunctionListCmd) Val() []Library { method Result (line 5708) | func (cmd *FunctionListCmd) Result() ([]Library, error) { method First (line 5712) | func (cmd *FunctionListCmd) First() (*Library, error) { method readReply (line 5722) | func (cmd *FunctionListCmd) readReply(rd *proto.Reader) (err error) { method readFunctions (line 5766) | func (cmd *FunctionListCmd) readFunctions(rd *proto.Reader) ([]Functio... method Clone (line 5818) | func (cmd *FunctionListCmd) Clone() Cmder { function NewFunctionListCmd (line 5686) | func NewFunctionListCmd(ctx context.Context, args ...interface{}) *Funct... type FunctionStats (line 5859) | type FunctionStats struct method Running (line 5866) | func (fs *FunctionStats) Running() bool { method RunningScript (line 5870) | func (fs *FunctionStats) RunningScript() (RunningScript, bool) { method AllRunningScripts (line 5876) | func (fs *FunctionStats) AllRunningScripts() []RunningScript { type RunningScript (line 5880) | type RunningScript struct type Engine (line 5886) | type Engine struct type FunctionStatsCmd (line 5892) | type FunctionStatsCmd struct method SetVal (line 5909) | func (cmd *FunctionStatsCmd) SetVal(val FunctionStats) { method String (line 5913) | func (cmd *FunctionStatsCmd) String() string { method Val (line 5917) | func (cmd *FunctionStatsCmd) Val() FunctionStats { method Result (line 5921) | func (cmd *FunctionStatsCmd) Result() (FunctionStats, error) { method readReply (line 5925) | func (cmd *FunctionStatsCmd) readReply(rd *proto.Reader) (err error) { method readRunningScript (line 5959) | func (cmd *FunctionStatsCmd) readRunningScript(rd *proto.Reader) (Runn... method readEngines (line 5994) | func (cmd *FunctionStatsCmd) readEngines(rd *proto.Reader) ([]Engine, ... method readDuration (line 6031) | func (cmd *FunctionStatsCmd) readDuration(rd *proto.Reader) (time.Dura... method readCommand (line 6039) | func (cmd *FunctionStatsCmd) readCommand(rd *proto.Reader) ([]string, ... method readRunningScripts (line 6057) | func (cmd *FunctionStatsCmd) readRunningScripts(rd *proto.Reader) ([]R... method Clone (line 6075) | func (cmd *FunctionStatsCmd) Clone() Cmder { function NewFunctionStatsCmd (line 5899) | func NewFunctionStatsCmd(ctx context.Context, args ...interface{}) *Func... type LCSQuery (line 6106) | type LCSQuery struct type LCSMatch (line 6116) | type LCSMatch struct type LCSMatchedPosition (line 6122) | type LCSMatchedPosition struct type LCSPosition (line 6130) | type LCSPosition struct type LCSCmd (line 6135) | type LCSCmd struct method SetVal (line 6174) | func (cmd *LCSCmd) SetVal(val *LCSMatch) { method String (line 6178) | func (cmd *LCSCmd) String() string { method Val (line 6182) | func (cmd *LCSCmd) Val() *LCSMatch { method Result (line 6186) | func (cmd *LCSCmd) Result() (*LCSMatch, error) { method readReply (line 6190) | func (cmd *LCSCmd) readReply(rd *proto.Reader) (err error) { method readMatchedPositions (line 6235) | func (cmd *LCSCmd) readMatchedPositions(rd *proto.Reader) ([]LCSMatche... method readPosition (line 6266) | func (cmd *LCSCmd) readPosition(rd *proto.Reader) (pos LCSPosition, er... method Clone (line 6280) | func (cmd *LCSCmd) Clone() Cmder { function NewLCSCmd (line 6145) | func NewLCSCmd(ctx context.Context, q *LCSQuery) *LCSCmd { type KeyFlags (line 6301) | type KeyFlags struct type KeyFlagsCmd (line 6306) | type KeyFlagsCmd struct method SetVal (line 6324) | func (cmd *KeyFlagsCmd) SetVal(val []KeyFlags) { method Val (line 6328) | func (cmd *KeyFlagsCmd) Val() []KeyFlags { method Result (line 6332) | func (cmd *KeyFlagsCmd) Result() ([]KeyFlags, error) { method String (line 6336) | func (cmd *KeyFlagsCmd) String() string { method readReply (line 6340) | func (cmd *KeyFlagsCmd) readReply(rd *proto.Reader) error { method Clone (line 6378) | func (cmd *KeyFlagsCmd) Clone() Cmder { function NewKeyFlagsCmd (line 6314) | func NewKeyFlagsCmd(ctx context.Context, args ...interface{}) *KeyFlagsC... type ClusterLink (line 6400) | type ClusterLink struct type ClusterLinksCmd (line 6409) | type ClusterLinksCmd struct method SetVal (line 6427) | func (cmd *ClusterLinksCmd) SetVal(val []ClusterLink) { method Val (line 6431) | func (cmd *ClusterLinksCmd) Val() []ClusterLink { method Result (line 6435) | func (cmd *ClusterLinksCmd) Result() ([]ClusterLink, error) { method String (line 6439) | func (cmd *ClusterLinksCmd) String() string { method readReply (line 6443) | func (cmd *ClusterLinksCmd) readReply(rd *proto.Reader) error { method Clone (line 6488) | func (cmd *ClusterLinksCmd) Clone() Cmder { function NewClusterLinksCmd (line 6417) | func NewClusterLinksCmd(ctx context.Context, args ...interface{}) *Clust... type SlotRange (line 6502) | type SlotRange struct type Node (line 6507) | type Node struct type ClusterShard (line 6519) | type ClusterShard struct type ClusterShardsCmd (line 6524) | type ClusterShardsCmd struct method SetVal (line 6542) | func (cmd *ClusterShardsCmd) SetVal(val []ClusterShard) { method Val (line 6546) | func (cmd *ClusterShardsCmd) Val() []ClusterShard { method Result (line 6550) | func (cmd *ClusterShardsCmd) Result() ([]ClusterShard, error) { method String (line 6554) | func (cmd *ClusterShardsCmd) String() string { method readReply (line 6558) | func (cmd *ClusterShardsCmd) readReply(rd *proto.Reader) error { method Clone (line 6651) | func (cmd *ClusterShardsCmd) Clone() Cmder { function NewClusterShardsCmd (line 6532) | func NewClusterShardsCmd(ctx context.Context, args ...interface{}) *Clus... type RankScore (line 6675) | type RankScore struct type RankWithScoreCmd (line 6680) | type RankWithScoreCmd struct method SetVal (line 6698) | func (cmd *RankWithScoreCmd) SetVal(val RankScore) { method Val (line 6702) | func (cmd *RankWithScoreCmd) Val() RankScore { method Result (line 6706) | func (cmd *RankWithScoreCmd) Result() (RankScore, error) { method String (line 6710) | func (cmd *RankWithScoreCmd) String() string { method readReply (line 6714) | func (cmd *RankWithScoreCmd) readReply(rd *proto.Reader) error { method Clone (line 6734) | func (cmd *RankWithScoreCmd) Clone() Cmder { function NewRankWithScoreCmd (line 6688) | func NewRankWithScoreCmd(ctx context.Context, args ...interface{}) *Rank... type ClientFlags (line 6744) | type ClientFlags constant ClientSlave (line 6747) | ClientSlave ClientFlags = 1 << 0 constant ClientMaster (line 6748) | ClientMaster ClientFlags = 1 << 1 constant ClientMonitor (line 6749) | ClientMonitor ClientFlags = 1 << 2 constant ClientMulti (line 6750) | ClientMulti ClientFlags = 1 << 3 constant ClientBlocked (line 6751) | ClientBlocked ClientFlags = 1 << 4 constant ClientDirtyCAS (line 6752) | ClientDirtyCAS ClientFlags = 1 << 5 constant ClientCloseAfterReply (line 6753) | ClientCloseAfterReply ClientFlags = 1 << 6 constant ClientUnBlocked (line 6754) | ClientUnBlocked ClientFlags = 1 << 7 constant ClientScript (line 6755) | ClientScript ClientFlags = 1 << 8 constant ClientAsking (line 6756) | ClientAsking ClientFlags = 1 << 9 constant ClientCloseASAP (line 6757) | ClientCloseASAP ClientFlags = 1 << 10 constant ClientUnixSocket (line 6758) | ClientUnixSocket ClientFlags = 1 << 11 constant ClientDirtyExec (line 6759) | ClientDirtyExec ClientFlags = 1 << 12 constant ClientMasterForceReply (line 6760) | ClientMasterForceReply ClientFlags = 1 << 13 constant ClientForceAOF (line 6761) | ClientForceAOF ClientFlags = 1 << 14 constant ClientForceRepl (line 6762) | ClientForceRepl ClientFlags = 1 << 15 constant ClientPrePSync (line 6763) | ClientPrePSync ClientFlags = 1 << 16 constant ClientReadOnly (line 6764) | ClientReadOnly ClientFlags = 1 << 17 constant ClientPubSub (line 6765) | ClientPubSub ClientFlags = 1 << 18 constant ClientPreventAOFProp (line 6766) | ClientPreventAOFProp ClientFlags = 1 << 19 constant ClientPreventReplProp (line 6767) | ClientPreventReplProp ClientFlags = 1 << 20 constant ClientPreventProp (line 6768) | ClientPreventProp ClientFlags = ClientPreventAOFProp | ClientPreven... constant ClientPendingWrite (line 6769) | ClientPendingWrite ClientFlags = 1 << 21 constant ClientReplyOff (line 6770) | ClientReplyOff ClientFlags = 1 << 22 constant ClientReplySkipNext (line 6771) | ClientReplySkipNext ClientFlags = 1 << 23 constant ClientReplySkip (line 6772) | ClientReplySkip ClientFlags = 1 << 24 constant ClientLuaDebug (line 6773) | ClientLuaDebug ClientFlags = 1 << 25 constant ClientLuaDebugSync (line 6774) | ClientLuaDebugSync ClientFlags = 1 << 26 constant ClientModule (line 6775) | ClientModule ClientFlags = 1 << 27 constant ClientProtected (line 6776) | ClientProtected ClientFlags = 1 << 28 constant ClientExecutingCommand (line 6777) | ClientExecutingCommand ClientFlags = 1 << 29 constant ClientPendingCommand (line 6781) | ClientPendingCommand ClientFlags = 1 << 30 constant ClientTracking (line 6782) | ClientTracking ClientFlags = 1 << 31 constant ClientTrackingBrokenRedir (line 6783) | ClientTrackingBrokenRedir ClientFlags = 1 << 32 constant ClientTrackingBCAST (line 6784) | ClientTrackingBCAST ClientFlags = 1 << 33 constant ClientTrackingOptIn (line 6785) | ClientTrackingOptIn ClientFlags = 1 << 34 constant ClientTrackingOptOut (line 6786) | ClientTrackingOptOut ClientFlags = 1 << 35 constant ClientTrackingCaching (line 6787) | ClientTrackingCaching ClientFlags = 1 << 36 constant ClientTrackingNoLoop (line 6788) | ClientTrackingNoLoop ClientFlags = 1 << 37 constant ClientInTimeoutTable (line 6789) | ClientInTimeoutTable ClientFlags = 1 << 38 constant ClientProtocolError (line 6790) | ClientProtocolError ClientFlags = 1 << 39 constant ClientCloseAfterCommand (line 6791) | ClientCloseAfterCommand ClientFlags = 1 << 40 constant ClientDenyBlocking (line 6792) | ClientDenyBlocking ClientFlags = 1 << 41 constant ClientReplRDBOnly (line 6793) | ClientReplRDBOnly ClientFlags = 1 << 42 constant ClientNoEvict (line 6794) | ClientNoEvict ClientFlags = 1 << 43 constant ClientAllowOOM (line 6795) | ClientAllowOOM ClientFlags = 1 << 44 constant ClientNoTouch (line 6796) | ClientNoTouch ClientFlags = 1 << 45 constant ClientPushing (line 6797) | ClientPushing ClientFlags = 1 << 46 type ClientInfo (line 6801) | type ClientInfo struct type ClientInfoCmd (line 6839) | type ClientInfoCmd struct method SetVal (line 6857) | func (cmd *ClientInfoCmd) SetVal(val *ClientInfo) { method String (line 6861) | func (cmd *ClientInfoCmd) String() string { method Val (line 6865) | func (cmd *ClientInfoCmd) Val() *ClientInfo { method Result (line 6869) | func (cmd *ClientInfoCmd) Result() (*ClientInfo, error) { method readReply (line 6873) | func (cmd *ClientInfoCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 7029) | func (cmd *ClientInfoCmd) Clone() Cmder { function NewClientInfoCmd (line 6847) | func NewClientInfoCmd(ctx context.Context, args ...interface{}) *ClientI... function parseClientInfo (line 6888) | func parseClientInfo(txt string) (info *ClientInfo, err error) { type ACLLogEntry (line 7075) | type ACLLogEntry struct type ACLLogCmd (line 7088) | type ACLLogCmd struct method SetVal (line 7106) | func (cmd *ACLLogCmd) SetVal(val []*ACLLogEntry) { method Val (line 7110) | func (cmd *ACLLogCmd) Val() []*ACLLogEntry { method Result (line 7114) | func (cmd *ACLLogCmd) Result() ([]*ACLLogEntry, error) { method String (line 7118) | func (cmd *ACLLogCmd) String() string { method readReply (line 7122) | func (cmd *ACLLogCmd) readReply(rd *proto.Reader) error { method Clone (line 7183) | func (cmd *ACLLogCmd) Clone() Cmder { function NewACLLogCmd (line 7096) | func NewACLLogCmd(ctx context.Context, args ...interface{}) *ACLLogCmd { type LibraryInfo (line 7247) | type LibraryInfo struct function WithLibraryName (line 7253) | func WithLibraryName(libName string) LibraryInfo { function WithLibraryVersion (line 7258) | func WithLibraryVersion(libVer string) LibraryInfo { type InfoCmd (line 7264) | type InfoCmd struct method SetVal (line 7281) | func (cmd *InfoCmd) SetVal(val map[string]map[string]string) { method Val (line 7285) | func (cmd *InfoCmd) Val() map[string]map[string]string { method Result (line 7289) | func (cmd *InfoCmd) Result() (map[string]map[string]string, error) { method String (line 7293) | func (cmd *InfoCmd) String() string { method readReply (line 7297) | func (cmd *InfoCmd) readReply(rd *proto.Reader) error { method Item (line 7332) | func (cmd *InfoCmd) Item(section, key string) string { method Clone (line 7342) | func (cmd *InfoCmd) Clone() Cmder { function NewInfoCmd (line 7271) | func NewInfoCmd(ctx context.Context, args ...interface{}) *InfoCmd { type MonitorStatus (line 7361) | type MonitorStatus constant monitorStatusIdle (line 7364) | monitorStatusIdle MonitorStatus = iota constant monitorStatusStart (line 7365) | monitorStatusStart constant monitorStatusStop (line 7366) | monitorStatusStop type MonitorCmd (line 7369) | type MonitorCmd struct method String (line 7389) | func (cmd *MonitorCmd) String() string { method readReply (line 7393) | func (cmd *MonitorCmd) readReply(rd *proto.Reader) error { method readMonitor (line 7412) | func (cmd *MonitorCmd) readMonitor(rd *proto.Reader, cancel context.Ca... method Start (line 7435) | func (cmd *MonitorCmd) Start() { method Stop (line 7441) | func (cmd *MonitorCmd) Stop() { method Clone (line 7511) | func (cmd *MonitorCmd) Clone() Cmder { function newMonitorCmd (line 7376) | func newMonitorCmd(ctx context.Context, ch chan string) *MonitorCmd { type VectorScoreSliceCmd (line 7447) | type VectorScoreSliceCmd struct method SetVal (line 7464) | func (cmd *VectorScoreSliceCmd) SetVal(val []VectorScore) { method Val (line 7468) | func (cmd *VectorScoreSliceCmd) Val() []VectorScore { method Result (line 7472) | func (cmd *VectorScoreSliceCmd) Result() ([]VectorScore, error) { method String (line 7476) | func (cmd *VectorScoreSliceCmd) String() string { method readReply (line 7480) | func (cmd *VectorScoreSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 7504) | func (cmd *VectorScoreSliceCmd) Clone() Cmder { function NewVectorInfoSliceCmd (line 7455) | func NewVectorInfoSliceCmd(ctx context.Context, args ...any) *VectorScor... function ExtractCommandValue (line 7518) | func ExtractCommandValue(cmd interface{}) (interface{}, error) { FILE: command_digest_test.go function TestDigestCmd (line 11) | func TestDigestCmd(t *testing.T) { function TestDigestCmdResult (line 85) | func TestDigestCmdResult(t *testing.T) { type mockConn (line 101) | type mockConn struct method Read (line 110) | func (c *mockConn) Read(p []byte) (n int, err error) { function newMockConn (line 106) | func newMockConn(data []byte) *mockConn { FILE: command_policy_resolver.go type CommandInfoResolveFunc (line 159) | type CommandInfoResolveFunc type commandInfoResolver (line 161) | type commandInfoResolver struct method GetCommandPolicy (line 190) | func (r *commandInfoResolver) GetCommandPolicy(ctx context.Context, cm... method SetFallbackResolver (line 207) | func (r *commandInfoResolver) SetFallbackResolver(fallbackResolver *co... function NewCommandInfoResolver (line 166) | func NewCommandInfoResolver(resolveFunc CommandInfoResolveFunc) *command... function NewDefaultCommandPolicyResolver (line 172) | func NewDefaultCommandPolicyResolver() *commandInfoResolver { FILE: command_recorder_test.go type commandRecorder (line 12) | type commandRecorder struct method Record (line 27) | func (r *commandRecorder) Record(cmd string) { method LastCommands (line 39) | func (r *commandRecorder) LastCommands() []string { method Contains (line 46) | func (r *commandRecorder) Contains(cmd string) bool { method Hook (line 59) | func (r *commandRecorder) Hook() redis.Hook { function newCommandRecorder (line 19) | func newCommandRecorder(maxSize int) *commandRecorder { type commandHook (line 64) | type commandHook struct method DialHook (line 68) | func (h *commandHook) DialHook(next redis.DialHook) redis.DialHook { method ProcessHook (line 72) | func (h *commandHook) ProcessHook(next redis.ProcessHook) redis.Proces... method ProcessPipelineHook (line 79) | func (h *commandHook) ProcessPipelineHook(next redis.ProcessPipelineHo... FILE: commands.go constant KeepTTL (line 23) | KeepTTL = -1 function usePrecise (line 25) | func usePrecise(dur time.Duration) bool { function formatMs (line 29) | func formatMs(ctx context.Context, dur time.Duration) int64 { function formatSec (line 41) | func formatSec(ctx context.Context, dur time.Duration) int64 { function appendArgs (line 53) | func appendArgs(dst, src []interface{}) []interface{} { function appendArg (line 67) | func appendArg(dst []interface{}, arg interface{}) []interface{} { function appendStructField (line 111) | func appendStructField(dst []interface{}, v reflect.Value) []interface{} { function omitEmpty (line 138) | func omitEmpty(opt string) bool { function isEmptyValue (line 149) | func isEmptyValue(v reflect.Value) bool { type Cmdable (line 173) | type Cmdable interface type StatefulCmdable (line 251) | type StatefulCmdable interface type cmdable (line 270) | type cmdable method Wait (line 291) | func (c cmdable) Wait(ctx context.Context, numSlaves int, timeout time... method WaitAOF (line 298) | func (c cmdable) WaitAOF(ctx context.Context, numLocal, numSlaves int,... method Command (line 377) | func (c cmdable) Command(ctx context.Context) *CommandsInfoCmd { method CommandList (line 390) | func (c cmdable) CommandList(ctx context.Context, filter *FilterBy) *S... method CommandGetKeys (line 407) | func (c cmdable) CommandGetKeys(ctx context.Context, commands ...inter... method CommandGetKeysAndFlags (line 417) | func (c cmdable) CommandGetKeysAndFlags(ctx context.Context, commands ... method ClientGetName (line 428) | func (c cmdable) ClientGetName(ctx context.Context) *StringCmd { method Echo (line 434) | func (c cmdable) Echo(ctx context.Context, message interface{}) *Strin... method Ping (line 440) | func (c cmdable) Ping(ctx context.Context) *StatusCmd { method Do (line 446) | func (c cmdable) Do(ctx context.Context, args ...interface{}) *Cmd { method Quit (line 455) | func (c cmdable) Quit(_ context.Context) *StatusCmd { method BgRewriteAOF (line 461) | func (c cmdable) BgRewriteAOF(ctx context.Context) *StatusCmd { method BgSave (line 467) | func (c cmdable) BgSave(ctx context.Context) *StatusCmd { method ClientKill (line 473) | func (c cmdable) ClientKill(ctx context.Context, ipPort string) *Statu... method ClientKillByFilter (line 482) | func (c cmdable) ClientKillByFilter(ctx context.Context, keys ...strin... method ClientList (line 494) | func (c cmdable) ClientList(ctx context.Context) *StringCmd { method ClientPause (line 500) | func (c cmdable) ClientPause(ctx context.Context, dur time.Duration) *... method ClientUnpause (line 506) | func (c cmdable) ClientUnpause(ctx context.Context) *BoolCmd { method ClientID (line 512) | func (c cmdable) ClientID(ctx context.Context) *IntCmd { method ClientUnblock (line 518) | func (c cmdable) ClientUnblock(ctx context.Context, id int64) *IntCmd { method ClientUnblockWithError (line 524) | func (c cmdable) ClientUnblockWithError(ctx context.Context, id int64)... method ClientInfo (line 530) | func (c cmdable) ClientInfo(ctx context.Context) *ClientInfoCmd { method ClientMaintNotifications (line 538) | func (c cmdable) ClientMaintNotifications(ctx context.Context, enabled... method ConfigGet (line 555) | func (c cmdable) ConfigGet(ctx context.Context, parameter string) *Map... method ConfigResetStat (line 561) | func (c cmdable) ConfigResetStat(ctx context.Context) *StatusCmd { method ConfigSet (line 567) | func (c cmdable) ConfigSet(ctx context.Context, parameter, value strin... method ConfigRewrite (line 573) | func (c cmdable) ConfigRewrite(ctx context.Context) *StatusCmd { method DBSize (line 579) | func (c cmdable) DBSize(ctx context.Context) *IntCmd { method FlushAll (line 585) | func (c cmdable) FlushAll(ctx context.Context) *StatusCmd { method FlushAllAsync (line 591) | func (c cmdable) FlushAllAsync(ctx context.Context) *StatusCmd { method FlushDB (line 597) | func (c cmdable) FlushDB(ctx context.Context) *StatusCmd { method FlushDBAsync (line 603) | func (c cmdable) FlushDBAsync(ctx context.Context) *StatusCmd { method Info (line 609) | func (c cmdable) Info(ctx context.Context, sections ...string) *String... method InfoMap (line 620) | func (c cmdable) InfoMap(ctx context.Context, sections ...string) *Inf... method LastSave (line 631) | func (c cmdable) LastSave(ctx context.Context) *IntCmd { method Save (line 637) | func (c cmdable) Save(ctx context.Context) *StatusCmd { method shutdown (line 643) | func (c cmdable) shutdown(ctx context.Context, modifier string) *Statu... method Shutdown (line 665) | func (c cmdable) Shutdown(ctx context.Context) *StatusCmd { method ShutdownSave (line 669) | func (c cmdable) ShutdownSave(ctx context.Context) *StatusCmd { method ShutdownNoSave (line 673) | func (c cmdable) ShutdownNoSave(ctx context.Context) *StatusCmd { method SlaveOf (line 680) | func (c cmdable) SlaveOf(ctx context.Context, host, port string) *Stat... method ReplicaOf (line 687) | func (c cmdable) ReplicaOf(ctx context.Context, host, port string) *St... method SlowLogGet (line 693) | func (c cmdable) SlowLogGet(ctx context.Context, num int64) *SlowLogCmd { method SlowLogLen (line 699) | func (c cmdable) SlowLogLen(ctx context.Context) *IntCmd { method SlowLogReset (line 705) | func (c cmdable) SlowLogReset(ctx context.Context) *StatusCmd { method Latency (line 711) | func (c cmdable) Latency(ctx context.Context) *LatencyCmd { method LatencyReset (line 717) | func (c cmdable) LatencyReset(ctx context.Context, events ...interface... method Sync (line 727) | func (c cmdable) Sync(_ context.Context) { method Time (line 731) | func (c cmdable) Time(ctx context.Context) *TimeCmd { method DebugObject (line 737) | func (c cmdable) DebugObject(ctx context.Context, key string) *StringC... method MemoryUsage (line 743) | func (c cmdable) MemoryUsage(ctx context.Context, key string, samples ... method ModuleLoadex (line 784) | func (c cmdable) ModuleLoadex(ctx context.Context, conf *ModuleLoadexC... method Monitor (line 801) | func (c cmdable) Monitor(ctx context.Context, ch chan string) *Monitor... type statefulCmdable (line 272) | type statefulCmdable method Auth (line 276) | func (c statefulCmdable) Auth(ctx context.Context, password string) *S... method AuthACL (line 285) | func (c statefulCmdable) AuthACL(ctx context.Context, username, passwo... method Select (line 305) | func (c statefulCmdable) Select(ctx context.Context, index int) *Statu... method SwapDB (line 311) | func (c statefulCmdable) SwapDB(ctx context.Context, index1, index2 in... method ClientSetName (line 318) | func (c statefulCmdable) ClientSetName(ctx context.Context, name strin... method ClientSetInfo (line 325) | func (c statefulCmdable) ClientSetInfo(ctx context.Context, info Libra... method Hello (line 355) | func (c statefulCmdable) Hello(ctx context.Context, method Validate (line 344) | func (info LibraryInfo) Validate() error { type FilterBy (line 384) | type FilterBy struct type ModuleLoadexConfig (line 763) | type ModuleLoadexConfig struct method toArgs (line 769) | func (c *ModuleLoadexConfig) toArgs() []interface{} { FILE: commands_test.go type TimeValue (line 21) | type TimeValue struct method ScanRedis (line 25) | func (t *TimeValue) ScanRedis(s string) (err error) { type numberStruct (line 9204) | type numberStruct struct method MarshalBinary (line 9208) | func (n numberStruct) MarshalBinary() ([]byte, error) { method UnmarshalBinary (line 9212) | func (n *numberStruct) UnmarshalBinary(b []byte) error { method ScanRedis (line 9216) | func (n *numberStruct) ScanRedis(str string) error { function deref (line 9220) | func deref(viface interface{}) interface{} { FILE: dial_retry_backoff.go function DialRetryBackoffConstant (line 11) | func DialRetryBackoffConstant(d time.Duration) func(attempt int) time.Du... function DialRetryBackoffExponential (line 22) | func DialRetryBackoffExponential(minBackoff, maxBackoff time.Duration) f... FILE: digest_test.go function init (line 14) | func init() { function skipIfRedisBelow84 (line 25) | func skipIfRedisBelow84(t *testing.T) { function TestDigestBasic (line 32) | func TestDigestBasic(t *testing.T) { function TestSetIFDEQWithDigest (line 76) | func TestSetIFDEQWithDigest(t *testing.T) { function TestSetIFDNEWithDigest (line 140) | func TestSetIFDNEWithDigest(t *testing.T) { function TestDelExArgsWithDigest (line 204) | func TestDelExArgsWithDigest(t *testing.T) { function TestDigestHelperMatchesRedis (line 269) | func TestDigestHelperMatchesRedis(t *testing.T) { function TestDigestBytesHelperMatchesRedis (line 328) | func TestDigestBytesHelperMatchesRedis(t *testing.T) { function TestDigestHelperWithSetIFDEQ (line 384) | func TestDigestHelperWithSetIFDEQ(t *testing.T) { function TestDigestHelperWithDelExArgs (line 441) | func TestDigestHelperWithDelExArgs(t *testing.T) { FILE: doctests/bf_tutorial_test.go function ExampleClient_bloom (line 14) | func ExampleClient_bloom() { FILE: doctests/bitfield_tutorial_test.go function ExampleClient_bf (line 14) | func ExampleClient_bf() { FILE: doctests/bitmap_tutorial_test.go function ExampleClient_ping (line 14) | func ExampleClient_ping() { function ExampleClient_bitcount (line 61) | func ExampleClient_bitcount() { FILE: doctests/cmds_generic_test.go function ExampleClient_del_cmd (line 16) | func ExampleClient_del_cmd() { function ExampleClient_expire_cmd (line 63) | func ExampleClient_expire_cmd() { function ExampleClient_ttl_cmd (line 164) | func ExampleClient_ttl_cmd() { FILE: doctests/cmds_hash_test.go function ExampleClient_hset (line 15) | func ExampleClient_hset() { function ExampleClient_hget (line 107) | func ExampleClient_hget() { function ExampleClient_hgetall (line 154) | func ExampleClient_hgetall() { function ExampleClient_hvals (line 208) | func ExampleClient_hvals() { FILE: doctests/cmds_list_test.go function ExampleClient_cmd_llen (line 14) | func ExampleClient_cmd_llen() { function ExampleClient_cmd_lpop (line 58) | func ExampleClient_cmd_lpop() { function ExampleClient_cmd_lpush (line 114) | func ExampleClient_cmd_lpush() { function ExampleClient_cmd_lrange (line 159) | func ExampleClient_cmd_lrange() { function ExampleClient_cmd_rpop (line 224) | func ExampleClient_cmd_rpop() { function ExampleClient_cmd_rpush (line 280) | func ExampleClient_cmd_rpush() { FILE: doctests/cmds_servermgmt_test.go function ExampleClient_cmd_flushall (line 14) | func ExampleClient_cmd_flushall() { function ExampleClient_cmd_info (line 53) | func ExampleClient_cmd_info() { FILE: doctests/cmds_set_test.go function ExampleClient_sadd_cmd (line 14) | func ExampleClient_sadd_cmd() { function ExampleClient_smembers_cmd (line 68) | func ExampleClient_smembers_cmd() { FILE: doctests/cmds_sorted_set_test.go function ExampleClient_zadd_cmd (line 14) | func ExampleClient_zadd_cmd() { function ExampleClient_zrange1 (line 77) | func ExampleClient_zrange1() { function ExampleClient_zrange2 (line 137) | func ExampleClient_zrange2() { function ExampleClient_zrange3 (line 179) | func ExampleClient_zrange3() { FILE: doctests/cmds_string_test.go function ExampleClient_cmd_incr (line 14) | func ExampleClient_cmd_incr() { FILE: doctests/cms_tutorial_test.go function ExampleClient_cms (line 14) | func ExampleClient_cms() { FILE: doctests/cuckoo_tutorial_test.go function ExampleClient_cuckoo (line 14) | func ExampleClient_cuckoo() { FILE: doctests/geo_index_test.go function ExampleClient_geoindex (line 14) | func ExampleClient_geoindex() { FILE: doctests/geo_tutorial_test.go function ExampleClient_geoadd (line 14) | func ExampleClient_geoadd() { function ExampleClient_geosearch (line 76) | func ExampleClient_geosearch() { FILE: doctests/hash_tutorial_test.go function ExampleClient_set_get_all (line 14) | func ExampleClient_set_get_all() { function ExampleClient_hmget (line 97) | func ExampleClient_hmget() { function ExampleClient_hincrby (line 157) | func ExampleClient_hincrby() { function ExampleClient_incrby_get_mget (line 208) | func ExampleClient_incrby_get_mget() { FILE: doctests/hll_tutorial_test.go function ExampleClient_pfadd (line 14) | func ExampleClient_pfadd() { FILE: doctests/home_json_example_test.go function ExampleClient_search_json (line 17) | func ExampleClient_search_json() { function ExampleClient_search_hash (line 231) | func ExampleClient_search_hash() { FILE: doctests/home_prob_dts_test.go function ExampleClient_probabilistic_datatypes (line 14) | func ExampleClient_probabilistic_datatypes() { FILE: doctests/json_tutorial_test.go function ExampleClient_setget (line 13) | func ExampleClient_setget() { function ExampleClient_str (line 62) | func ExampleClient_str() { function ExampleClient_num (line 117) | func ExampleClient_num() { function ExampleClient_arr (line 173) | func ExampleClient_arr() { function ExampleClient_arr2 (line 244) | func ExampleClient_arr2() { function ExampleClient_obj (line 349) | func ExampleClient_obj() { function ExampleClient_setbikes (line 472) | func ExampleClient_setbikes() { function ExampleClient_getbikes (line 571) | func ExampleClient_getbikes() { function ExampleClient_getmtnbikes (line 682) | func ExampleClient_getmtnbikes() { function ExampleClient_getmodels (line 742) | func ExampleClient_getmodels() { function ExampleClient_get2mtnbikes (line 775) | func ExampleClient_get2mtnbikes() { function ExampleClient_filter1 (line 808) | func ExampleClient_filter1() { function ExampleClient_filter2 (line 868) | func ExampleClient_filter2() { function ExampleClient_filter3 (line 904) | func ExampleClient_filter3() { function ExampleClient_filter4 (line 940) | func ExampleClient_filter4() { function ExampleClient_updatebikes (line 1015) | func ExampleClient_updatebikes() { function ExampleClient_updatefilters1 (line 1066) | func ExampleClient_updatefilters1() { function ExampleClient_updatefilters2 (line 1112) | func ExampleClient_updatefilters2() { FILE: doctests/list_tutorial_test.go function ExampleClient_queue (line 14) | func ExampleClient_queue() { function ExampleClient_stack (line 70) | func ExampleClient_stack() { function ExampleClient_llen (line 126) | func ExampleClient_llen() { function ExampleClient_lmove_lrange (line 155) | func ExampleClient_lmove_lrange() { function ExampleClient_lpush_rpush (line 221) | func ExampleClient_lpush_rpush() { function ExampleClient_variadic (line 277) | func ExampleClient_variadic() { function ExampleClient_lpop_rpop (line 324) | func ExampleClient_lpop_rpop() { function ExampleClient_ltrim (line 391) | func ExampleClient_ltrim() { function ExampleClient_ltrim_end_of_list (line 438) | func ExampleClient_ltrim_end_of_list() { function ExampleClient_brpop (line 485) | func ExampleClient_brpop() { function ExampleClient_rule1 (line 542) | func ExampleClient_rule1() { function ExampleClient_rule11 (line 580) | func ExampleClient_rule11() { function ExampleClient_rule2 (line 627) | func ExampleClient_rule2() { function ExampleClient_rule3 (line 699) | func ExampleClient_rule3() { function ExampleClient_ltrim1 (line 745) | func ExampleClient_ltrim1() { FILE: doctests/lpush_lrange_test.go function ExampleClient_LPush_and_lrange (line 13) | func ExampleClient_LPush_and_lrange() { FILE: doctests/main_test.go function init (line 12) | func init() { FILE: doctests/pipe_trans_example_test.go function ExampleClient_transactions (line 14) | func ExampleClient_transactions() { FILE: doctests/query_agg_test.go function ExampleClient_query_agg (line 13) | func ExampleClient_query_agg() { FILE: doctests/query_em_test.go function ExampleClient_query_em (line 14) | func ExampleClient_query_em() { FILE: doctests/query_ft_test.go function ExampleClient_query_ft (line 13) | func ExampleClient_query_ft() { FILE: doctests/query_geo_test.go function ExampleClient_query_geo (line 13) | func ExampleClient_query_geo() { FILE: doctests/query_range_test.go function ExampleClient_query_range (line 12) | func ExampleClient_query_range() { FILE: doctests/search_quickstart_test.go function ExampleClient_search_qs (line 154) | func ExampleClient_search_qs() { FILE: doctests/set_get_test.go function ExampleClient_Set_and_get (line 12) | func ExampleClient_Set_and_get() { FILE: doctests/sets_example_test.go function ExampleClient_sadd (line 14) | func ExampleClient_sadd() { function ExampleClient_sismember (line 71) | func ExampleClient_sismember() { function ExampleClient_sinter (line 122) | func ExampleClient_sinter() { function ExampleClient_scard (line 164) | func ExampleClient_scard() { function ExampleClient_saddsmembers (line 199) | func ExampleClient_saddsmembers() { function ExampleClient_smismember (line 240) | func ExampleClient_smismember() { function ExampleClient_sdiff (line 284) | func ExampleClient_sdiff() { function ExampleClient_multisets (line 325) | func ExampleClient_multisets() { function ExampleClient_srem (line 416) | func ExampleClient_srem() { FILE: doctests/ss_tutorial_test.go function ExampleClient_zadd (line 13) | func ExampleClient_zadd() { function ExampleClient_zrange (line 71) | func ExampleClient_zrange() { function ExampleClient_zrangewithscores (line 124) | func ExampleClient_zrangewithscores() { function ExampleClient_zrangebyscore (line 167) | func ExampleClient_zrangebyscore() { function ExampleClient_zremrangebyscore (line 212) | func ExampleClient_zremrangebyscore() { function ExampleClient_zrank (line 273) | func ExampleClient_zrank() { function ExampleClient_zaddlex (line 321) | func ExampleClient_zaddlex() { function ExampleClient_leaderboard (line 384) | func ExampleClient_leaderboard() { FILE: doctests/stream_tutorial_test.go function UNUSED (line 15) | func UNUSED(v ...interface{}) {} function ExampleClient_xadd (line 19) | func ExampleClient_xadd() { function ExampleClient_racefrance1 (line 100) | func ExampleClient_racefrance1() { function ExampleClient_raceusa (line 224) | func ExampleClient_raceusa() { function ExampleClient_racefrance2 (line 309) | func ExampleClient_racefrance2() { function ExampleClient_xgroupcreate (line 479) | func ExampleClient_xgroupcreate() { function ExampleClient_xgroupcreatemkstream (line 523) | func ExampleClient_xgroupcreatemkstream() { function ExampleClient_xgroupread (line 554) | func ExampleClient_xgroupread() { function ExampleClient_raceitaly (line 661) | func ExampleClient_raceitaly() { function ExampleClient_xdel (line 1023) | func ExampleClient_xdel() { FILE: doctests/string_example_test.go function ExampleClient_set_get (line 13) | func ExampleClient_set_get() { function ExampleClient_setnx_xx (line 51) | func ExampleClient_setnx_xx() { function ExampleClient_mset (line 98) | func ExampleClient_mset() { function ExampleClient_incr (line 136) | func ExampleClient_incr() { FILE: doctests/tdigest_tutorial_test.go function ExampleClient_tdigstart (line 14) | func ExampleClient_tdigstart() { function ExampleClient_tdigcdf (line 64) | func ExampleClient_tdigcdf() { function ExampleClient_tdigquant (line 123) | func ExampleClient_tdigquant() { function ExampleClient_tdigmin (line 176) | func ExampleClient_tdigmin() { function ExampleClient_tdigreset (line 229) | func ExampleClient_tdigreset() { FILE: doctests/timeseries_tut_test.go function mapKeys (line 18) | func mapKeys[K comparable, V any](m map[K]V) []K { function ExampleClient_timeseries_create (line 26) | func ExampleClient_timeseries_create() { function ExampleClient_timeseries_add (line 126) | func ExampleClient_timeseries_add() { function ExampleClient_timeseries_range (line 173) | func ExampleClient_timeseries_range() { function ExampleClient_timeseries_query_multi (line 321) | func ExampleClient_timeseries_query_multi() { function ExampleClient_timeseries_aggregation (line 627) | func ExampleClient_timeseries_aggregation() { function ExampleClient_timeseries_agg_bucket (line 683) | func ExampleClient_timeseries_agg_bucket() { function ExampleClient_timeseries_aggmulti (line 764) | func ExampleClient_timeseries_aggmulti() { function ExampleClient_timeseries_compaction (line 975) | func ExampleClient_timeseries_compaction() { function ExampleClient_timeseries_delete (line 1079) | func ExampleClient_timeseries_delete() { FILE: doctests/topk_tutorial_test.go function ExampleClient_topk (line 14) | func ExampleClient_topk() { FILE: doctests/vec_set_test.go function ExampleClient_vectorset (line 15) | func ExampleClient_vectorset() { function ExampleClient_vectorset_quantization (line 383) | func ExampleClient_vectorset_quantization() { function ExampleClient_vectorset_dimension_reduction (line 476) | func ExampleClient_vectorset_dimension_reduction() { FILE: error.go function HasErrorPrefix (line 37) | func HasErrorPrefix(err error, prefix string) bool { type Error (line 47) | type Error interface function isContextError (line 59) | func isContextError(err error) bool { function isTimeoutError (line 68) | func isTimeoutError(err error) (isTimeout bool, hasTimeoutFlag bool) { function shouldRetry (line 84) | func shouldRetry(err error, retryTimeout bool) bool { function isRedisError (line 163) | func isRedisError(err error) bool { function isBadConn (line 174) | func isBadConn(err error, allowTimeout bool, addr string) bool { function isMovedError (line 216) | func isMovedError(err error) (moved bool, ask bool, addr string) { function isLoadingError (line 253) | func isLoadingError(err error) bool { function isReadOnlyError (line 257) | func isReadOnlyError(err error) bool { function isMovedSameConnAddr (line 261) | func isMovedSameConnAddr(err error, addr string) bool { function IsLoadingError (line 275) | func IsLoadingError(err error) bool { function IsReadOnlyError (line 281) | func IsReadOnlyError(err error) bool { function IsClusterDownError (line 287) | func IsClusterDownError(err error) bool { function IsTryAgainError (line 293) | func IsTryAgainError(err error) bool { function IsMasterDownError (line 299) | func IsMasterDownError(err error) bool { function IsMaxClientsError (line 305) | func IsMaxClientsError(err error) bool { function IsMovedError (line 312) | func IsMovedError(err error) (addr string, ok bool) { function IsAskError (line 322) | func IsAskError(err error) (addr string, ok bool) { function IsAuthError (line 334) | func IsAuthError(err error) bool { function IsPermissionError (line 340) | func IsPermissionError(err error) bool { function IsExecAbortError (line 346) | func IsExecAbortError(err error) bool { function IsOOMError (line 352) | func IsOOMError(err error) bool { function IsNoReplicasError (line 360) | func IsNoReplicasError(err error) bool { type timeoutError (line 366) | type timeoutError interface FILE: error_test.go type testTimeout (line 13) | type testTimeout struct method Timeout (line 17) | func (t testTimeout) Timeout() bool { method Error (line 21) | func (t testTimeout) Error() string { FILE: error_wrapping_test.go function TestTypedErrorsWithHookWrapping (line 17) | func TestTypedErrorsWithHookWrapping(t *testing.T) { function TestMovedAndAskErrorsWithHookWrapping (line 97) | func TestMovedAndAskErrorsWithHookWrapping(t *testing.T) { function TestBackwardCompatibilityWithStringChecks (line 151) | func TestBackwardCompatibilityWithStringChecks(t *testing.T) { function TestErrorWrappingInHookScenario (line 194) | func TestErrorWrappingInHookScenario(t *testing.T) { function TestShouldRetryWithTypedErrors (line 240) | func TestShouldRetryWithTypedErrors(t *testing.T) { function TestSetErrWithWrappedError (line 309) | func TestSetErrWithWrappedError(t *testing.T) { type AppError (line 361) | type AppError struct method Error (line 369) | func (e *AppError) Error() string { method Unwrap (line 374) | func (e *AppError) Unwrap() error { function TestCustomErrorTypeWrapping (line 380) | func TestCustomErrorTypeWrapping(t *testing.T) { function TestTimeoutErrorWrapping (line 455) | func TestTimeoutErrorWrapping(t *testing.T) { type testTimeoutError (line 529) | type testTimeoutError struct method Error (line 534) | func (e *testTimeoutError) Error() string { method Timeout (line 538) | func (e *testTimeoutError) Timeout() bool { type testNetError (line 543) | type testNetError struct method Error (line 549) | func (e *testNetError) Error() string { method Timeout (line 553) | func (e *testNetError) Timeout() bool { method Temporary (line 557) | func (e *testNetError) Temporary() bool { function TestContextErrorWrapping (line 562) | func TestContextErrorWrapping(t *testing.T) { function TestIOErrorWrapping (line 591) | func TestIOErrorWrapping(t *testing.T) { function TestPoolErrorWrapping (line 613) | func TestPoolErrorWrapping(t *testing.T) { function TestRedisErrorWrapping (line 626) | func TestRedisErrorWrapping(t *testing.T) { function contains (line 645) | func contains(s, substr string) bool { function TestAuthErrorWrapping (line 649) | func TestAuthErrorWrapping(t *testing.T) { function TestPermissionErrorWrapping (line 691) | func TestPermissionErrorWrapping(t *testing.T) { function TestExecAbortErrorWrapping (line 706) | func TestExecAbortErrorWrapping(t *testing.T) { function TestOOMErrorWrapping (line 721) | func TestOOMErrorWrapping(t *testing.T) { FILE: example/cluster-mget/main.go function main (line 10) | func main() { FILE: example/del-keys-without-ttl/main.go function main (line 14) | func main() { type KeyChecker (line 42) | type KeyChecker struct method Add (line 62) | func (c *KeyChecker) Add(key string) { method Start (line 66) | func (c *KeyChecker) Start(ctx context.Context) { method Stop (line 103) | func (c *KeyChecker) Stop() int { method checkKeys (line 109) | func (c *KeyChecker) checkKeys(ctx context.Context, keys []string) err... method del (line 133) | func (c *KeyChecker) del(ctx context.Context) error { function NewKeyChecker (line 52) | func NewKeyChecker(rdb *redis.Client, batchSize int) *KeyChecker { FILE: example/digest-optimistic-locking/main.go function main (line 12) | func main() { function basicDigestExample (line 64) | func basicDigestExample(ctx context.Context, rdb *redis.Client) { function optimisticLockingExample (line 87) | func optimisticLockingExample(ctx context.Context, rdb *redis.Client) { function detectChangesExample (line 123) | func detectChangesExample(ctx context.Context, rdb *redis.Client) { function conditionalDeleteExample (line 159) | func conditionalDeleteExample(ctx context.Context, rdb *redis.Client) { function clientSideDigestExample (line 200) | func clientSideDigestExample(ctx context.Context, rdb *redis.Client) { FILE: example/disable-maintnotifications/main.go function main (line 12) | func main() { FILE: example/hll/main.go function main (line 10) | func main() { FILE: example/hset-struct/main.go type Model (line 12) | type Model struct function main (line 31) | func main() { function ToPtr (line 127) | func ToPtr[T any](v T) *T { FILE: example/lua-scripting/main.go function main (line 10) | func main() { FILE: example/maintnotifiations-pubsub/main.go function main (line 24) | func main() { function floodThePool (line 122) | func floodThePool(ctx context.Context, rdb *redis.Client, wg *sync.WaitG... function subscribe (line 149) | func subscribe(ctx context.Context, rdb *redis.Client, topic string, sub... FILE: example/otel-metrics/main.go function main (line 22) | func main() { FILE: example/otel/client.go function main (line 21) | func main() { function handleRequest (line 61) | func handleRequest(ctx context.Context, rdb *redis.Client) error { FILE: example/redis-bloom/main.go function main (line 11) | func main() { function bloomFilter (line 32) | func bloomFilter(ctx context.Context, rdb *redis.Client) { function cuckooFilter (line 62) | func cuckooFilter(ctx context.Context, rdb *redis.Client) { function countMinSketch (line 94) | func countMinSketch(ctx context.Context, rdb *redis.Client) { function topK (line 121) | func topK(ctx context.Context, rdb *redis.Client) { FILE: example/scan-struct/main.go type Model (line 11) | type Model struct function main (line 23) | func main() { FILE: example/tls-cert-auth/main.go function main (line 33) | func main() { FILE: example/tls-connection/main.go function main (line 13) | func main() { FILE: example_instrumentation_test.go type redisHook (line 11) | type redisHook struct method DialHook (line 15) | func (redisHook) DialHook(hook redis.DialHook) redis.DialHook { method ProcessHook (line 24) | func (redisHook) ProcessHook(hook redis.ProcessHook) redis.ProcessHook { method ProcessPipelineHook (line 33) | func (redisHook) ProcessPipelineHook(hook redis.ProcessPipelineHook) r... function Example_instrumentation (line 46) | func Example_instrumentation() { function ExamplePipeline_instrumentation (line 65) | func ExamplePipeline_instrumentation() { function ExampleClient_Watch_instrumentation (line 88) | func ExampleClient_Watch_instrumentation() { FILE: example_test.go function init (line 18) | func init() { function ExampleNewClient (line 29) | func ExampleNewClient() { function ExampleParseURL (line 41) | func ExampleParseURL() { function ExampleNewFailoverClient (line 60) | func ExampleNewFailoverClient() { function ExampleNewClusterClient (line 70) | func ExampleNewClusterClient() { function ExampleNewClusterClient_manualSetup (line 81) | func ExampleNewClusterClient_manualSetup() { function ExampleNewRing (line 122) | func ExampleNewRing() { function ExampleClient (line 133) | func ExampleClient() { function ExampleConn_name (line 157) | func ExampleConn_name() { function ExampleConn_client_setInfo_libraryVersion (line 178) | func ExampleConn_client_setInfo_libraryVersion() { function ExampleClient_Set (line 200) | func ExampleClient_Set() { function ExampleClient_SetEx (line 215) | func ExampleClient_SetEx() { function ExampleClient_HSet (line 222) | func ExampleClient_HSet() { function ExampleClient_Incr (line 237) | func ExampleClient_Incr() { function ExampleClient_BLPop (line 247) | func ExampleClient_BLPop() { function ExampleClient_Scan (line 262) | func ExampleClient_Scan() { function ExampleClient_ScanType (line 290) | func ExampleClient_ScanType() { function ExampleClient_ScanType_hashType (line 319) | func ExampleClient_ScanType_hashType() { function ExampleMapStringStringCmd_Scan (line 349) | func ExampleMapStringStringCmd_Scan() { function ExampleSliceCmd_Scan (line 383) | func ExampleSliceCmd_Scan() { function ExampleClient_Pipelined (line 414) | func ExampleClient_Pipelined() { function ExampleClient_Pipeline (line 425) | func ExampleClient_Pipeline() { function ExampleClient_TxPipelined (line 442) | func ExampleClient_TxPipelined() { function ExampleClient_TxPipeline (line 453) | func ExampleClient_TxPipeline() { function ExampleClient_Watch (line 472) | func ExampleClient_Watch() { function ExamplePubSub (line 531) | func ExamplePubSub() { function ExamplePubSub_Receive (line 562) | func ExamplePubSub_Receive() { function ExampleScript (line 592) | func ExampleScript() { function Example_customCommand (line 615) | func Example_customCommand() { function Example_customCommand2 (line 627) | func Example_customCommand2() { function ExampleScanIterator (line 633) | func ExampleScanIterator() { function ExampleScanCmd_Iterator (line 643) | func ExampleScanCmd_Iterator() { function ExampleNewUniversalClient_simple (line 653) | func ExampleNewUniversalClient_simple() { function ExampleNewUniversalClient_failover (line 662) | func ExampleNewUniversalClient_failover() { function ExampleNewUniversalClient_cluster (line 672) | func ExampleNewUniversalClient_cluster() { function ExampleClient_SlowLogGet (line 681) | func ExampleClient_SlowLogGet() { FILE: export_test.go method Pool (line 14) | func (c *baseClient) Pool() pool.Pooler { method SetNetConn (line 18) | func (c *PubSub) SetNetConn(netConn net.Conn) { method LoadState (line 22) | func (c *ClusterClient) LoadState(ctx context.Context) (*clusterState, e... method SlotAddrs (line 27) | func (c *ClusterClient) SlotAddrs(ctx context.Context, slot int) []string { method Nodes (line 40) | func (c *ClusterClient) Nodes(ctx context.Context, key string) ([]*clust... method SwapNodes (line 54) | func (c *ClusterClient) SwapNodes(ctx context.Context, key string) error { method IsConsistent (line 63) | func (c *clusterState) IsConsistent(ctx context.Context) bool { function GetSlavesAddrByName (line 87) | func GetSlavesAddrByName(ctx context.Context, c *SentinelClient, name st... method ShardByName (line 97) | func (c *Ring) ShardByName(name string) *ringShard { method ToArgs (line 102) | func (c *ModuleLoadexConfig) ToArgs() []interface{} { function ShouldRetry (line 106) | func ShouldRetry(err error, retryTimeout bool) bool { FILE: extra/rediscensus/rediscensus.go type TracingHook (line 13) | type TracingHook struct method DialHook (line 21) | func (TracingHook) DialHook(next redis.DialHook) redis.DialHook { method ProcessHook (line 43) | func (TracingHook) ProcessHook(next redis.ProcessHook) redis.ProcessHo... method ProcessPipelineHook (line 67) | func (TracingHook) ProcessPipelineHook(next redis.ProcessPipelineHook)... function NewTracingHook (line 17) | func NewTracingHook() *TracingHook { function recordErrorOnOCSpan (line 71) | func recordErrorOnOCSpan(ctx context.Context, span *trace.Span, err erro... FILE: extra/rediscmd/rediscmd.go function CmdString (line 13) | func CmdString(cmd redis.Cmder) string { function CmdsString (line 19) | func CmdsString(cmds []redis.Cmder) (string, string) { function AppendCmd (line 48) | func AppendCmd(b []byte, cmd redis.Cmder) []byte { function appendArg (line 64) | func appendArg(b []byte, v interface{}) []byte { function appendUTF8String (line 108) | func appendUTF8String(dst []byte, src []byte) []byte { function isSimple (line 120) | func isSimple(b []byte) bool { function isSimpleByte (line 129) | func isSimpleByte(c byte) bool { FILE: extra/rediscmd/rediscmd_test.go function TestGinkgo (line 10) | func TestGinkgo(t *testing.T) { FILE: extra/rediscmd/safe.go function String (line 6) | func String(b []byte) string { function Bytes (line 10) | func Bytes(s string) []byte { FILE: extra/rediscmd/unsafe.go function String (line 9) | func String(b []byte) string { function Bytes (line 14) | func Bytes(s string) []byte { FILE: extra/redisotel-native/attributes.go constant AttrDBSystemName (line 9) | AttrDBSystemName = "db.system.name" constant AttrDBNamespace (line 10) | AttrDBNamespace = "db.namespace" constant AttrDBOperationName (line 11) | AttrDBOperationName = "db.operation.name" constant AttrDBOperationBatchSize (line 12) | AttrDBOperationBatchSize = "db.operation.batch.size" constant AttrDBResponseStatusCode (line 13) | AttrDBResponseStatusCode = "db.response.status_code" constant AttrDBClientConnectionPoolName (line 16) | AttrDBClientConnectionPoolName = "db.client.connection.pool.name" constant AttrDBClientConnectionState (line 17) | AttrDBClientConnectionState = "db.client.connection.state" constant AttrServerAddress (line 20) | AttrServerAddress = "server.address" constant AttrServerPort (line 21) | AttrServerPort = "server.port" constant AttrNetworkPeerAddress (line 24) | AttrNetworkPeerAddress = "network.peer.address" constant AttrNetworkPeerPort (line 25) | AttrNetworkPeerPort = "network.peer.port" constant AttrErrorType (line 28) | AttrErrorType = "error.type" constant AttrRedisClientLibrary (line 31) | AttrRedisClientLibrary = "redis.client.library" constant AttrRedisClientConnectionPubSub (line 32) | AttrRedisClientConnectionPubSub = "redis.client.connection.pubsub" constant AttrRedisClientConnectionCloseReason (line 33) | AttrRedisClientConnectionCloseReason = "redis.client.connection.close.r... constant AttrRedisClientErrorsCategory (line 34) | AttrRedisClientErrorsCategory = "redis.client.errors.category" constant AttrRedisClientErrorsInternal (line 35) | AttrRedisClientErrorsInternal = "redis.client.errors.internal" constant AttrRedisClientOperationRetryAttempts (line 36) | AttrRedisClientOperationRetryAttempts = "redis.client.operation.retry_at... constant AttrRedisClientPubSubDirection (line 39) | AttrRedisClientPubSubDirection = "redis.client.pubsub.direction" constant AttrRedisClientPubSubSharded (line 40) | AttrRedisClientPubSubSharded = "redis.client.pubsub.sharded" constant AttrRedisClientPubSubChannel (line 41) | AttrRedisClientPubSubChannel = "redis.client.pubsub.channel" constant AttrRedisClientStreamName (line 44) | AttrRedisClientStreamName = "redis.client.stream.name" constant AttrRedisClientStreamConsumerGroup (line 45) | AttrRedisClientStreamConsumerGroup = "redis.client.stream.consumer_group" constant AttrRedisClientStreamConsumerName (line 46) | AttrRedisClientStreamConsumerName = "redis.client.stream.consumer_name" constant AttrRedisClientConnectionNotification (line 49) | AttrRedisClientConnectionNotification = "redis.client.connection.notific... constant ConnectionStateIdle (line 54) | ConnectionStateIdle = "idle" constant ConnectionStateUsed (line 55) | ConnectionStateUsed = "used" constant PubSubDirectionSent (line 60) | PubSubDirectionSent = "sent" constant PubSubDirectionReceived (line 61) | PubSubDirectionReceived = "received" constant DBSystemRedis (line 66) | DBSystemRedis = "redis" FILE: extra/redisotel-native/config.go type MetricGroup (line 9) | type MetricGroup constant MetricGroupCommand (line 12) | MetricGroupCommand MetricGroup = "command" constant MetricGroupConnectionBasic (line 13) | MetricGroupConnectionBasic MetricGroup = "connection-basic" constant MetricGroupResiliency (line 14) | MetricGroupResiliency MetricGroup = "resiliency" constant MetricGroupConnectionAdvanced (line 15) | MetricGroupConnectionAdvanced MetricGroup = "connection-advanced" constant MetricGroupPubSub (line 16) | MetricGroupPubSub MetricGroup = "pubsub" constant MetricGroupStream (line 17) | MetricGroupStream MetricGroup = "stream" type HistogramAggregation (line 20) | type HistogramAggregation constant HistogramAggregationExplicitBucket (line 23) | HistogramAggregationExplicitBucket HistogramAggregation = "explicit_bu... constant HistogramAggregationBase2Exponential (line 24) | HistogramAggregationBase2Exponential HistogramAggregation = "base2_expon... type config (line 27) | type config struct method isMetricGroupEnabled (line 53) | func (c *config) isMetricGroupEnabled(group MetricGroup) bool { method isCommandIncluded (line 57) | func (c *config) isCommandIncluded(command string) bool { function defaultHistogramBuckets (line 82) | func defaultHistogramBuckets() []float64 { type MetricGroupFlags (line 99) | type MetricGroupFlags constant MetricGroupFlagCommand (line 102) | MetricGroupFlagCommand MetricGroupFlags = 1 << 0 constant MetricGroupFlagConnectionBasic (line 103) | MetricGroupFlagConnectionBasic MetricGroupFlags = 1 << 1 constant MetricGroupFlagResiliency (line 104) | MetricGroupFlagResiliency MetricGroupFlags = 1 << 2 constant MetricGroupFlagConnectionAdvanced (line 105) | MetricGroupFlagConnectionAdvanced MetricGroupFlags = 1 << 3 constant MetricGroupFlagPubSub (line 106) | MetricGroupFlagPubSub MetricGroupFlags = 1 << 4 constant MetricGroupFlagStream (line 107) | MetricGroupFlagStream MetricGroupFlags = 1 << 5 constant MetricGroupAll (line 110) | MetricGroupAll MetricGroupFlags = MetricGroupFlagCommand | type Config (line 130) | type Config struct method WithEnabled (line 202) | func (c *Config) WithEnabled(enabled bool) *Config { method WithMeterProvider (line 209) | func (c *Config) WithMeterProvider(provider metric.MeterProvider) *Con... method WithMetricGroups (line 216) | func (c *Config) WithMetricGroups(groups MetricGroupFlags) *Config { method WithIncludeCommands (line 222) | func (c *Config) WithIncludeCommands(commands []string) *Config { method WithExcludeCommands (line 232) | func (c *Config) WithExcludeCommands(commands []string) *Config { method WithHidePubSubChannelNames (line 241) | func (c *Config) WithHidePubSubChannelNames(hide bool) *Config { method WithHideStreamNames (line 247) | func (c *Config) WithHideStreamNames(hide bool) *Config { method WithHistogramAggregation (line 253) | func (c *Config) WithHistogramAggregation(agg HistogramAggregation) *C... method WithHistogramBuckets (line 261) | func (c *Config) WithHistogramBuckets(buckets []float64) *Config { function NewConfig (line 173) | func NewConfig() *Config { FILE: extra/redisotel-native/metrics.go type timeoutError (line 19) | type timeoutError interface constant libraryName (line 25) | libraryName = "go-redis" function getLibraryVersionAttr (line 29) | func getLibraryVersionAttr() attribute.KeyValue { function addServerPortIfNonDefault (line 34) | func addServerPortIfNonDefault(attrs []attribute.KeyValue, serverPort st... type poolInfo (line 42) | type poolInfo struct type pubsubPoolInfo (line 48) | type pubsubPoolInfo struct type metricsRecorder (line 54) | type metricsRecorder struct method RecordOperationDuration (line 81) | func (r *metricsRecorder) RecordOperationDuration( method RecordPipelineOperationDuration (line 148) | func (r *metricsRecorder) RecordPipelineOperationDuration( method RecordConnectionCreateTime (line 510) | func (r *metricsRecorder) RecordConnectionCreateTime( method RecordConnectionRelaxedTimeout (line 542) | func (r *metricsRecorder) RecordConnectionRelaxedTimeout( method RecordConnectionHandoff (line 574) | func (r *metricsRecorder) RecordConnectionHandoff( method RecordError (line 601) | func (r *metricsRecorder) RecordError( method RecordMaintenanceNotification (line 651) | func (r *metricsRecorder) RecordMaintenanceNotification( method RecordConnectionWaitTime (line 689) | func (r *metricsRecorder) RecordConnectionWaitTime( method RecordConnectionClosed (line 717) | func (r *metricsRecorder) RecordConnectionClosed( method RecordPubSubMessage (line 762) | func (r *metricsRecorder) RecordPubSubMessage( method RecordStreamLag (line 807) | func (r *metricsRecorder) RecordStreamLag( method RegisterPool (line 854) | func (r *metricsRecorder) RegisterPool(poolName string, pool redis.Poo... method UnregisterPool (line 867) | func (r *metricsRecorder) UnregisterPool(pool redis.Pooler) { method RegisterPubSubPool (line 884) | func (r *metricsRecorder) RegisterPubSubPool(poolName string, pool red... method UnregisterPubSubPool (line 897) | func (r *metricsRecorder) UnregisterPubSubPool(pool redis.PubSubPooler) { function classifyError (line 211) | func classifyError(err error) string { function normalizeNetworkError (line 237) | func normalizeNetworkError(err error) string { function normalizeGenericError (line 284) | func normalizeGenericError(errStr string) string { function extractRedisErrorPrefix (line 325) | func extractRedisErrorPrefix(err error) string { function isNetworkError (line 347) | func isNetworkError(err error) bool { function isTimeoutError (line 358) | func isTimeoutError(err error) bool { function getErrorCategory (line 380) | func getErrorCategory(err error) string { function getErrorCategoryFromString (line 402) | func getErrorCategoryFromString(errStr string) string { function splitHostPort (line 457) | func splitHostPort(addr string) (host, port string) { function parseAddr (line 473) | func parseAddr(addr string) (host, port string) { function extractServerInfo (line 494) | func extractServerInfo(cn redis.ConnInfo) (addr, port string) { FILE: extra/redisotel-native/metrics_definitions_test.go constant semconvOperationDuration (line 8) | semconvOperationDuration = "db.client.operation.duration" constant semconvConnectionCount (line 9) | semconvConnectionCount = "db.client.connection.count" constant semconvConnectionCreateTime (line 10) | semconvConnectionCreateTime = "db.client.connection.create_time" constant semconvConnectionWaitTime (line 11) | semconvConnectionWaitTime = "db.client.connection.wait_time" constant semconvConnectionPending (line 12) | semconvConnectionPending = "db.client.connection.pending_requests" function TestMetricDefinitionsMatchSemconv (line 16) | func TestMetricDefinitionsMatchSemconv(t *testing.T) { function TestSemconvMetricTypes (line 41) | func TestSemconvMetricTypes(t *testing.T) { FILE: extra/redisotel-native/metrics_stress_test.go constant stressTestDuration (line 19) | stressTestDuration = 30 * time.Second constant stressTestConcurrency (line 20) | stressTestConcurrency = 50 constant stressTestMinDelay (line 21) | stressTestMinDelay = 10 * time.Millisecond constant stressTestMaxDelay (line 22) | stressTestMaxDelay = 100 * time.Millisecond constant stressTestStatusInterval (line 23) | stressTestStatusInterval = 5 * time.Second function TestMetricsUnderStress (line 27) | func TestMetricsUnderStress(t *testing.T) { function validateMetrics (line 129) | func validateMetrics(t *testing.T, rm metricdata.ResourceMetrics) { function resetObservabilityForTest (line 150) | func resetObservabilityForTest() { function TestTracingAndMetricsCompatibility (line 158) | func TestTracingAndMetricsCompatibility(t *testing.T) { FILE: extra/redisotel-native/redisotel.go constant MetricOperationDuration (line 21) | MetricOperationDuration = "db.client.operation.duration" constant MetricConnectionCount (line 24) | MetricConnectionCount = "db.client.connection.count" constant MetricConnectionCreateTime (line 25) | MetricConnectionCreateTime = "db.client.connection.create_time" constant MetricConnectionWaitTime (line 26) | MetricConnectionWaitTime = "db.client.connection.wait_time" constant MetricConnectionPendingReqs (line 27) | MetricConnectionPendingReqs = "db.client.connection.pending_requests" constant MetricConnectionRelaxedTimeout (line 28) | MetricConnectionRelaxedTimeout = "redis.client.connection.relaxed_timeout" constant MetricConnectionHandoff (line 29) | MetricConnectionHandoff = "redis.client.connection.handoff" constant MetricConnectionClosed (line 30) | MetricConnectionClosed = "redis.client.connection.closed" constant MetricClientErrors (line 33) | MetricClientErrors = "redis.client.errors" constant MetricMaintenanceNotifications (line 34) | MetricMaintenanceNotifications = "redis.client.maintenance.notifications" constant MetricPubSubMessages (line 37) | MetricPubSubMessages = "redis.client.pubsub.messages" constant MetricStreamLag (line 40) | MetricStreamLag = "redis.client.stream.lag" constant PoolNameMain (line 43) | PoolNameMain = "main" constant PoolNamePubSub (line 44) | PoolNamePubSub = "pubsub" type ObservabilityInstance (line 54) | type ObservabilityInstance struct method Init (line 73) | func (o *ObservabilityInstance) Init(cfg *Config) error { method IsEnabled (line 113) | func (o *ObservabilityInstance) IsEnabled() bool { method Shutdown (line 121) | func (o *ObservabilityInstance) Shutdown() error { method shutdownLocked (line 127) | func (o *ObservabilityInstance) shutdownLocked() error { method configToInternal (line 144) | func (o *ObservabilityInstance) configToInternal(cfg *Config) config { method createRecorder (line 182) | func (o *ObservabilityInstance) createRecorder(meter metric.Meter, cfg... method registerAsyncCallbacks (line 388) | func (o *ObservabilityInstance) registerAsyncCallbacks(meter metric.Me... function GetObservabilityInstance (line 62) | func GetObservabilityInstance() *ObservabilityInstance { function parsePoolName (line 372) | func parsePoolName(poolName string) (string, string, string) { FILE: extra/redisotel/config.go type config (line 14) | type config struct type baseOption (line 41) | type baseOption interface type Option (line 45) | type Option interface type option (line 51) | type option method apply (line 53) | func (fn option) apply(conf *config) { method tracing (line 57) | func (fn option) tracing() {} method metrics (line 59) | func (fn option) metrics() {} function newConfig (line 61) | func newConfig(opts ...baseOption) *config { function WithDBSystem (line 90) | func WithDBSystem(dbSystem string) Option { function WithAttributes (line 97) | func WithAttributes(attrs ...attribute.KeyValue) Option { type TracingOption (line 105) | type TracingOption interface type tracingOption (line 110) | type tracingOption method apply (line 114) | func (fn tracingOption) apply(conf *config) { method tracing (line 118) | func (fn tracingOption) tracing() {} function WithTracerProvider (line 122) | func WithTracerProvider(provider trace.TracerProvider) TracingOption { function WithDBStatement (line 129) | func WithDBStatement(on bool) TracingOption { function WithCallerEnabled (line 136) | func WithCallerEnabled(on bool) TracingOption { function WithCommandFilter (line 144) | func WithCommandFilter(filter func(cmd redis.Cmder) bool) TracingOption { function WithCommandsFilter (line 153) | func WithCommandsFilter(filter func(cmds []redis.Cmder) bool) TracingOpt... function WithDialFilter (line 160) | func WithDialFilter(on bool) TracingOption { function DefaultCommandFilter (line 167) | func DefaultCommandFilter(cmd redis.Cmder) bool { function BasicCommandFilter (line 192) | func BasicCommandFilter(cmd redis.Cmder) bool { type MetricsOption (line 198) | type MetricsOption interface type metricsOption (line 203) | type metricsOption method apply (line 207) | func (fn metricsOption) apply(conf *config) { method metrics (line 211) | func (fn metricsOption) metrics() {} function WithMeterProvider (line 214) | func WithMeterProvider(mp metric.MeterProvider) MetricsOption { function WithCloseChan (line 220) | func WithCloseChan(closeChan chan struct{}) MetricsOption { FILE: extra/redisotel/metrics.go type metricsState (line 18) | type metricsState struct function InstrumentMetrics (line 27) | func InstrumentMetrics(rdb redis.UniversalClient, opts ...MetricsOption)... function registerClient (line 86) | func registerClient(rdb *redis.Client, conf *config, state *metricsState... function poolStatsAttrs (line 117) | func poolStatsAttrs(conf *config) (poolAttrs, idleAttrs, usedAttrs attri... function reportPoolStats (line 124) | func reportPoolStats(rdb *redis.Client, conf *config) (metric.Registrati... function addMetricsHook (line 232) | func addMetricsHook(rdb *redis.Client, conf *config) error { type metricsHook (line 259) | type metricsHook struct method DialHook (line 267) | func (mh *metricsHook) DialHook(hook redis.DialHook) redis.DialHook { method ProcessHook (line 285) | func (mh *metricsHook) ProcessHook(hook redis.ProcessHook) redis.Proce... method ProcessPipelineHook (line 305) | func (mh *metricsHook) ProcessPipelineHook( function milliseconds (line 327) | func milliseconds(d time.Duration) float64 { function statusAttr (line 331) | func statusAttr(err error) attribute.KeyValue { function errorTypeAttribute (line 341) | func errorTypeAttribute(err error) attribute.KeyValue { FILE: extra/redisotel/metrics_test.go function Test_poolStatsAttrs (line 10) | func Test_poolStatsAttrs(t *testing.T) { FILE: extra/redisotel/tracing.go constant instrumName (line 21) | instrumName = "github.com/redis/go-redis/extra/redisotel" function InstrumentTracing (line 24) | func InstrumentTracing(rdb redis.UniversalClient, opts ...TracingOption)... type tracingHook (line 53) | type tracingHook struct method DialHook (line 88) | func (th *tracingHook) DialHook(hook redis.DialHook) redis.DialHook { method ProcessHook (line 107) | func (th *tracingHook) ProcessHook(hook redis.ProcessHook) redis.Proce... method ProcessPipelineHook (line 145) | func (th *tracingHook) ProcessPipelineHook( function newTracingHook (line 61) | func newTracingHook(connString string, opts ...TracingOption) *tracingHo... function recordError (line 187) | func recordError(span trace.Span, err error) { function formatDBConnString (line 194) | func formatDBConnString(network, addr string) string { function funcFileLine (line 201) | func funcFileLine(pkg string) (string, string, int) { function addServerAttributes (line 229) | func addServerAttributes(opts []TracingOption, addr string) []TracingOpt... FILE: extra/redisotel/tracing_test.go type providerFunc (line 22) | type providerFunc method TracerProvider (line 24) | func (fn providerFunc) TracerProvider(name string, opts ...trace.Trace... function TestNewWithTracerProvider (line 28) | func TestNewWithTracerProvider(t *testing.T) { function TestWithDBStatement (line 43) | func TestWithDBStatement(t *testing.T) { function TestWithoutCaller (line 69) | func TestWithoutCaller(t *testing.T) { function TestWithCommandFilter (line 98) | func TestWithCommandFilter(t *testing.T) { function TestWithCommandsFilter (line 230) | func TestWithCommandsFilter(t *testing.T) { function TestWithDialFilter (line 297) | func TestWithDialFilter(t *testing.T) { function TestTracingHook_DialHook (line 344) | func TestTracingHook_DialHook(t *testing.T) { function TestTracingHook_ProcessHook (line 396) | func TestTracingHook_ProcessHook(t *testing.T) { function TestTracingHook_ProcessPipelineHook (line 447) | func TestTracingHook_ProcessPipelineHook(t *testing.T) { function TestTracingHook_ProcessHook_LongCommand (line 501) | func TestTracingHook_ProcessHook_LongCommand(t *testing.T) { function TestTracingHook_ProcessPipelineHook_LongCommands (line 578) | func TestTracingHook_ProcessPipelineHook_LongCommands(t *testing.T) { function assertEqual (line 664) | func assertEqual(t *testing.T, expected, actual interface{}) { function assertAttributeContains (line 671) | func assertAttributeContains(t *testing.T, attrs []attribute.KeyValue, a... FILE: extra/redisprometheus/collector.go type StatGetter (line 10) | type StatGetter interface type Collector (line 16) | type Collector struct method Describe (line 75) | func (s *Collector) Describe(descs chan<- *prometheus.Desc) { method Collect (line 85) | func (s *Collector) Collect(metrics chan<- prometheus.Metric) { function NewCollector (line 38) | func NewCollector(namespace, subsystem string, getter StatGetter) *Colle... FILE: fuzz/fuzz.go constant minDataLength (line 14) | minDataLength = 4 constant redisAddr (line 15) | redisAddr = ":6379" constant dialTimeout (line 16) | dialTimeout = 10 * time.Second constant readTimeout (line 17) | readTimeout = 10 * time.Second constant writeTimeout (line 18) | writeTimeout = 10 * time.Second constant poolSize (line 19) | poolSize = 10 constant poolTimeout (line 20) | poolTimeout = 10 * time.Second constant scanCount (line 21) | scanCount = 10 constant maxIterPercentage (line 22) | maxIterPercentage = 256 type redisOperation (line 30) | type redisOperation function init (line 32) | func init() { function Fuzz (line 43) | func Fuzz(data []byte) int { FILE: generic_commands.go type GenericCmdable (line 10) | type GenericCmdable interface method Del (line 51) | func (c cmdable) Del(ctx context.Context, keys ...string) *IntCmd { method Unlink (line 62) | func (c cmdable) Unlink(ctx context.Context, keys ...string) *IntCmd { method Dump (line 73) | func (c cmdable) Dump(ctx context.Context, key string) *StringCmd { method Exists (line 79) | func (c cmdable) Exists(ctx context.Context, keys ...string) *IntCmd { method Expire (line 90) | func (c cmdable) Expire(ctx context.Context, key string, expiration time... method ExpireNX (line 94) | func (c cmdable) ExpireNX(ctx context.Context, key string, expiration ti... method ExpireXX (line 98) | func (c cmdable) ExpireXX(ctx context.Context, key string, expiration ti... method ExpireGT (line 102) | func (c cmdable) ExpireGT(ctx context.Context, key string, expiration ti... method ExpireLT (line 106) | func (c cmdable) ExpireLT(ctx context.Context, key string, expiration ti... method expire (line 110) | func (c cmdable) expire( method ExpireAt (line 126) | func (c cmdable) ExpireAt(ctx context.Context, key string, tm time.Time)... method ExpireTime (line 132) | func (c cmdable) ExpireTime(ctx context.Context, key string) *DurationCmd { method Keys (line 138) | func (c cmdable) Keys(ctx context.Context, pattern string) *StringSliceC... method Migrate (line 144) | func (c cmdable) Migrate(ctx context.Context, host, port, key string, db... method Move (line 159) | func (c cmdable) Move(ctx context.Context, key string, db int) *BoolCmd { method ObjectFreq (line 165) | func (c cmdable) ObjectFreq(ctx context.Context, key string) *IntCmd { method ObjectRefCount (line 171) | func (c cmdable) ObjectRefCount(ctx context.Context, key string) *IntCmd { method ObjectEncoding (line 177) | func (c cmdable) ObjectEncoding(ctx context.Context, key string) *String... method ObjectIdleTime (line 183) | func (c cmdable) ObjectIdleTime(ctx context.Context, key string) *Durati... method Persist (line 189) | func (c cmdable) Persist(ctx context.Context, key string) *BoolCmd { method PExpire (line 195) | func (c cmdable) PExpire(ctx context.Context, key string, expiration tim... method PExpireAt (line 201) | func (c cmdable) PExpireAt(ctx context.Context, key string, tm time.Time... method PExpireTime (line 212) | func (c cmdable) PExpireTime(ctx context.Context, key string) *DurationC... method PTTL (line 218) | func (c cmdable) PTTL(ctx context.Context, key string) *DurationCmd { method RandomKey (line 224) | func (c cmdable) RandomKey(ctx context.Context) *StringCmd { method Rename (line 230) | func (c cmdable) Rename(ctx context.Context, key, newkey string) *Status... method RenameNX (line 236) | func (c cmdable) RenameNX(ctx context.Context, key, newkey string) *Bool... method Restore (line 242) | func (c cmdable) Restore(ctx context.Context, key string, ttl time.Durat... method RestoreReplace (line 254) | func (c cmdable) RestoreReplace(ctx context.Context, key string, ttl tim... type Sort (line 267) | type Sort struct method args (line 275) | func (sort *Sort) args(command, key string) []interface{} { method SortRO (line 296) | func (c cmdable) SortRO(ctx context.Context, key string, sort *Sort) *St... method Sort (line 302) | func (c cmdable) Sort(ctx context.Context, key string, sort *Sort) *Stri... method SortStore (line 308) | func (c cmdable) SortStore(ctx context.Context, key, store string, sort ... method SortInterfaces (line 318) | func (c cmdable) SortInterfaces(ctx context.Context, key string, sort *S... method Touch (line 324) | func (c cmdable) Touch(ctx context.Context, keys ...string) *IntCmd { method TTL (line 335) | func (c cmdable) TTL(ctx context.Context, key string) *DurationCmd { method Type (line 341) | func (c cmdable) Type(ctx context.Context, key string) *StatusCmd { method Copy (line 347) | func (c cmdable) Copy(ctx context.Context, sourceKey, destKey string, db... method Scan (line 359) | func (c cmdable) Scan(ctx context.Context, cursor uint64, match string, ... method ScanType (line 375) | func (c cmdable) ScanType(ctx context.Context, cursor uint64, match stri... FILE: geo_commands.go type GeoCmdable (line 8) | type GeoCmdable interface method GeoAdd (line 22) | func (c cmdable) GeoAdd(ctx context.Context, key string, geoLocation ...... method GeoRadius (line 40) | func (c cmdable) GeoRadius( method GeoRadiusStore (line 53) | func (c cmdable) GeoRadiusStore( method GeoRadiusByMember (line 70) | func (c cmdable) GeoRadiusByMember( method GeoRadiusByMemberStore (line 83) | func (c cmdable) GeoRadiusByMemberStore( method GeoSearch (line 96) | func (c cmdable) GeoSearch(ctx context.Context, key string, q *GeoSearch... method GeoSearchLocation (line 105) | func (c cmdable) GeoSearchLocation( method GeoSearchStore (line 116) | func (c cmdable) GeoSearchStore(ctx context.Context, key, store string, ... method GeoDist (line 128) | func (c cmdable) GeoDist( method GeoHash (line 139) | func (c cmdable) GeoHash(ctx context.Context, key string, members ...str... method GeoPos (line 151) | func (c cmdable) GeoPos(ctx context.Context, key string, members ...stri... FILE: hash_commands.go type HashCmdable (line 10) | type HashCmdable interface method HDel (line 49) | func (c cmdable) HDel(ctx context.Context, key string, fields ...string)... method HExists (line 61) | func (c cmdable) HExists(ctx context.Context, key, field string) *BoolCmd { method HGet (line 67) | func (c cmdable) HGet(ctx context.Context, key, field string) *StringCmd { method HGetAll (line 73) | func (c cmdable) HGetAll(ctx context.Context, key string) *MapStringStri... method HIncrBy (line 79) | func (c cmdable) HIncrBy(ctx context.Context, key, field string, incr in... method HIncrByFloat (line 85) | func (c cmdable) HIncrByFloat(ctx context.Context, key, field string, in... method HKeys (line 91) | func (c cmdable) HKeys(ctx context.Context, key string) *StringSliceCmd { method HLen (line 97) | func (c cmdable) HLen(ctx context.Context, key string) *IntCmd { method HMGet (line 105) | func (c cmdable) HMGet(ctx context.Context, key string, fields ...string... method HSet (line 141) | func (c cmdable) HSet(ctx context.Context, key string, values ...interfa... method HMSet (line 152) | func (c cmdable) HMSet(ctx context.Context, key string, values ...interf... method HSetNX (line 162) | func (c cmdable) HSetNX(ctx context.Context, key, field string, value in... method HVals (line 168) | func (c cmdable) HVals(ctx context.Context, key string) *StringSliceCmd { method HRandField (line 175) | func (c cmdable) HRandField(ctx context.Context, key string, count int) ... method HRandFieldWithValues (line 182) | func (c cmdable) HRandFieldWithValues(ctx context.Context, key string, c... method HScan (line 188) | func (c cmdable) HScan(ctx context.Context, key string, cursor uint64, m... method HStrLen (line 204) | func (c cmdable) HStrLen(ctx context.Context, key, field string) *IntCmd { method HScanNoValues (line 209) | func (c cmdable) HScanNoValues(ctx context.Context, key string, cursor u... type HExpireArgs (line 226) | type HExpireArgs struct method HExpire (line 239) | func (c cmdable) HExpire(ctx context.Context, key string, expiration tim... method HExpireWithArgs (line 257) | func (c cmdable) HExpireWithArgs(ctx context.Context, key string, expira... method HPExpire (line 289) | func (c cmdable) HPExpire(ctx context.Context, key string, expiration ti... method HPExpireWithArgs (line 307) | func (c cmdable) HPExpireWithArgs(ctx context.Context, key string, expir... method HExpireAt (line 339) | func (c cmdable) HExpireAt(ctx context.Context, key string, tm time.Time... method HExpireAtWithArgs (line 351) | func (c cmdable) HExpireAtWithArgs(ctx context.Context, key string, tm t... method HPExpireAt (line 382) | func (c cmdable) HPExpireAt(ctx context.Context, key string, tm time.Tim... method HPExpireAtWithArgs (line 393) | func (c cmdable) HPExpireAtWithArgs(ctx context.Context, key string, tm ... method HPersist (line 425) | func (c cmdable) HPersist(ctx context.Context, key string, fields ...str... method HExpireTime (line 444) | func (c cmdable) HExpireTime(ctx context.Context, key string, fields ...... method HPExpireTime (line 463) | func (c cmdable) HPExpireTime(ctx context.Context, key string, fields ..... method HTTL (line 481) | func (c cmdable) HTTL(ctx context.Context, key string, fields ...string)... method HPTTL (line 500) | func (c cmdable) HPTTL(ctx context.Context, key string, fields ...string... method HGetDel (line 511) | func (c cmdable) HGetDel(ctx context.Context, key string, fields ...stri... method HGetEX (line 521) | func (c cmdable) HGetEX(ctx context.Context, key string, fields ...strin... type HGetEXExpirationType (line 532) | type HGetEXExpirationType constant HGetEXExpirationEX (line 535) | HGetEXExpirationEX HGetEXExpirationType = "EX" constant HGetEXExpirationPX (line 536) | HGetEXExpirationPX HGetEXExpirationType = "PX" constant HGetEXExpirationEXAT (line 537) | HGetEXExpirationEXAT HGetEXExpirationType = "EXAT" constant HGetEXExpirationPXAT (line 538) | HGetEXExpirationPXAT HGetEXExpirationType = "PXAT" constant HGetEXExpirationPERSIST (line 539) | HGetEXExpirationPERSIST HGetEXExpirationType = "PERSIST" type HGetEXOptions (line 542) | type HGetEXOptions struct method HGetEXWithArgs (line 547) | func (c cmdable) HGetEXWithArgs(ctx context.Context, key string, options... type HSetEXCondition (line 566) | type HSetEXCondition constant HSetEXFNX (line 569) | HSetEXFNX HSetEXCondition = "FNX" constant HSetEXFXX (line 570) | HSetEXFXX HSetEXCondition = "FXX" type HSetEXExpirationType (line 573) | type HSetEXExpirationType constant HSetEXExpirationEX (line 576) | HSetEXExpirationEX HSetEXExpirationType = "EX" constant HSetEXExpirationPX (line 577) | HSetEXExpirationPX HSetEXExpirationType = "PX" constant HSetEXExpirationEXAT (line 578) | HSetEXExpirationEXAT HSetEXExpirationType = "EXAT" constant HSetEXExpirationPXAT (line 579) | HSetEXExpirationPXAT HSetEXExpirationType = "PXAT" constant HSetEXExpirationKEEPTTL (line 580) | HSetEXExpirationKEEPTTL HSetEXExpirationType = "KEEPTTL" type HSetEXOptions (line 583) | type HSetEXOptions struct method HSetEX (line 589) | func (c cmdable) HSetEX(ctx context.Context, key string, fieldsAndValues... method HSetEXWithArgs (line 600) | func (c cmdable) HSetEXWithArgs(ctx context.Context, key string, options... FILE: helper/helper.go function ParseFloat (line 8) | func ParseFloat(s string) (float64, error) { function MustParseFloat (line 12) | func MustParseFloat(s string) float64 { function DigestBytes (line 20) | func DigestBytes(data []byte) uint64 { function DigestString (line 28) | func DigestString(s string) uint64 { FILE: helper/helper_test.go constant goldenTestValue (line 13) | goldenTestValue = "myvalue" constant goldenRedisDigest (line 14) | goldenRedisDigest = uint64(0x5a32b091fa5dafe7) function TestDigestString_RedisCompatibility (line 17) | func TestDigestString_RedisCompatibility(t *testing.T) { function TestDigestBytes_RedisCompatibility (line 26) | func TestDigestBytes_RedisCompatibility(t *testing.T) { function TestDigestString_EqualsDigestBytes (line 35) | func TestDigestString_EqualsDigestBytes(t *testing.T) { function BenchmarkDigestString (line 57) | func BenchmarkDigestString(b *testing.B) { function BenchmarkDigestBytes (line 77) | func BenchmarkDigestBytes(b *testing.B) { FILE: hotkeys_commands.go type HotKeysMetric (line 23) | type HotKeysMetric constant HotKeysMetricCPU (line 27) | HotKeysMetricCPU HotKeysMetric = "CPU" constant HotKeysMetricNET (line 29) | HotKeysMetricNET HotKeysMetric = "NET" type HotKeysStartArgs (line 35) | type HotKeysStartArgs struct method HotKeysStart (line 59) | func (c *Client) HotKeysStart(ctx context.Context, args *HotKeysStartArg... method HotKeysStop (line 101) | func (c *Client) HotKeysStop(ctx context.Context) *StatusCmd { method HotKeysReset (line 110) | func (c *Client) HotKeysReset(ctx context.Context) *StatusCmd { method HotKeysGet (line 118) | func (c *Client) HotKeysGet(ctx context.Context) *HotKeysCmd { FILE: hset_benchmark_test.go function BenchmarkHSET (line 36) | func BenchmarkHSET(b *testing.B) { function benchmarkHSETOperations (line 66) | func benchmarkHSETOperations(b *testing.B, rdb *redis.Client, ctx contex... function benchmarkHSETOperationsConcurrent (line 113) | func benchmarkHSETOperationsConcurrent(b *testing.B, rdb *redis.Client, ... function BenchmarkHSETPipelined (line 184) | func BenchmarkHSETPipelined(b *testing.B) { function BenchmarkHSET_Concurrent (line 213) | func BenchmarkHSET_Concurrent(b *testing.B) { function benchmarkHSETPipelined (line 245) | func benchmarkHSETPipelined(b *testing.B, rdb *redis.Client, ctx context... function BenchmarkHSET_RESP2 (line 296) | func BenchmarkHSET_RESP2(b *testing.B) { function BenchmarkHSETPipelined_RESP2 (line 327) | func BenchmarkHSETPipelined_RESP2(b *testing.B) { FILE: hyperloglog_commands.go type HyperLogLogCmdable (line 5) | type HyperLogLogCmdable interface method PFAdd (line 11) | func (c cmdable) PFAdd(ctx context.Context, key string, els ...interface... method PFCount (line 21) | func (c cmdable) PFCount(ctx context.Context, keys ...string) *IntCmd { method PFMerge (line 32) | func (c cmdable) PFMerge(ctx context.Context, dest string, keys ...strin... FILE: internal/arg.go function AppendArg (line 11) | func AppendArg(b []byte, v interface{}) []byte { function appendUTF8String (line 55) | func appendUTF8String(dst []byte, src []byte) []byte { FILE: internal/auth/streaming/conn_reauth_credentials_listener.go type ConnReAuthCredentialsListener (line 24) | type ConnReAuthCredentialsListener struct method OnNext (line 54) | func (c *ConnReAuthCredentialsListener) OnNext(credentials auth.Creden... method OnError (line 91) | func (c *ConnReAuthCredentialsListener) OnError(err error) { FILE: internal/auth/streaming/cred_listeners.go type CredentialsListeners (line 19) | type CredentialsListeners struct method Add (line 41) | func (c *CredentialsListeners) Add(connID uint64, listener auth.Creden... method Get (line 57) | func (c *CredentialsListeners) Get(connID uint64) (auth.CredentialsLis... method Remove (line 73) | func (c *CredentialsListeners) Remove(connID uint64) { function NewCredentialsListeners (line 28) | func NewCredentialsListeners() *CredentialsListeners { FILE: internal/auth/streaming/manager.go type Manager (line 26) | type Manager struct method PoolHook (line 59) | func (m *Manager) PoolHook() pool.PoolHook { method Listener (line 82) | func (m *Manager) Listener( method MarkForReAuth (line 121) | func (m *Manager) MarkForReAuth(poolCn *pool.Conn, reAuthFn func(error... method RemoveListener (line 135) | func (m *Manager) RemoveListener(connID uint64) { function NewManager (line 45) | func NewManager(pl pool.Pooler, reAuthTimeout time.Duration) *Manager { FILE: internal/auth/streaming/manager_test.go function TestManager_Listener_ReturnsNewListener (line 13) | func TestManager_Listener_ReturnsNewListener(t *testing.T) { function TestManager_Listener_NilConn (line 66) | func TestManager_Listener_NilConn(t *testing.T) { type mockPooler (line 87) | type mockPooler struct method NewConn (line 89) | func (m *mockPooler) NewConn(ctx context.Context) (*pool.Conn, error) ... method CloseConn (line 90) | func (m *mockPooler) CloseConn(context.Context, *pool.Conn, string, st... method Get (line 91) | func (m *mockPooler) Get(ctx context.Context) (*pool.Conn, error) ... method Put (line 92) | func (m *mockPooler) Put(ctx context.Context, conn *pool.Conn) ... method Remove (line 93) | func (m *mockPooler) Remove(ctx context.Context, conn *pool.Conn, reas... method RemoveWithoutTurn (line 94) | func (m *mockPooler) RemoveWithoutTurn(ctx context.Context, conn *pool... method Len (line 95) | func (m *mockPooler) Len() int ... method IdleLen (line 96) | func (m *mockPooler) IdleLen() int ... method Stats (line 97) | func (m *mockPooler) Stats() *pool.Stats ... method Size (line 98) | func (m *mockPooler) Size() int ... method AddPoolHook (line 99) | func (m *mockPooler) AddPoolHook(hook pool.PoolHook) ... method RemovePoolHook (line 100) | func (m *mockPooler) RemovePoolHook(hook pool.PoolHook) ... method Close (line 101) | func (m *mockPooler) Close() error ... FILE: internal/auth/streaming/pool_hook.go type ReAuthPoolHook (line 31) | type ReAuthPoolHook struct method MarkForReAuth (line 82) | func (r *ReAuthPoolHook) MarkForReAuth(connID uint64, reAuthFn func(er... method OnGet (line 99) | func (r *ReAuthPoolHook) OnGet(_ context.Context, conn *pool.Conn, _ b... method OnPut (line 139) | func (r *ReAuthPoolHook) OnPut(_ context.Context, conn *pool.Conn) (bo... method OnRemove (line 228) | func (r *ReAuthPoolHook) OnRemove(_ context.Context, conn *pool.Conn, ... function NewReAuthPoolHook (line 62) | func NewReAuthPoolHook(poolSize int, reAuthTimeout time.Duration) *ReAut... FILE: internal/auth/streaming/pool_hook_state_test.go function TestReAuthOnlyWhenIdle (line 14) | func TestReAuthOnlyWhenIdle(t *testing.T) { function TestReAuthWaitsForConnectionToBeIdle (line 67) | func TestReAuthWaitsForConnectionToBeIdle(t *testing.T) { function TestConcurrentReAuthAndUsage (line 153) | func TestConcurrentReAuthAndUsage(t *testing.T) { function TestReAuthRespectsClosed (line 219) | func TestReAuthRespectsClosed(t *testing.T) { FILE: internal/customvet/checks/setval/setval.go function parseFuncDecl (line 42) | func parseFuncDecl(decl ast.Decl, typesInfo *types.Info) (funcName, rece... FILE: internal/customvet/checks/setval/setval_test.go function Test (line 11) | func Test(t *testing.T) { FILE: internal/customvet/checks/setval/testdata/src/a/a.go type GoodCmd (line 3) | type GoodCmd struct method SetVal (line 7) | func (c *GoodCmd) SetVal(val int) { method Result (line 11) | func (c *GoodCmd) Result() (int, error) { type BadCmd (line 15) | type BadCmd struct method Result (line 19) | func (c *BadCmd) Result() (int, error) { // want "\\*a.BadCmd is missi... type NotACmd (line 23) | type NotACmd struct method Val (line 27) | func (c *NotACmd) Val() int { FILE: internal/customvet/main.go function main (line 9) | func main() { FILE: internal/hashtag/hashtag.go constant slotNumber (line 9) | slotNumber = 16384 function Key (line 50) | func Key(key string) string { function Present (line 59) | func Present(key string) bool { function RandomSlot (line 71) | func RandomSlot() int { function Slot (line 77) | func Slot(key string) int { function crc16sum (line 85) | func crc16sum(key string) (crc uint16) { FILE: internal/hashtag/hashtag_test.go function TestGinkgoSuite (line 12) | func TestGinkgoSuite(t *testing.T) { FILE: internal/hscan/hscan.go type decoderFunc (line 11) | type decoderFunc type Scanner (line 15) | type Scanner interface function Struct (line 55) | func Struct(dst interface{}) (StructValue, error) { function Scan (line 76) | func Scan(dst interface{}, keys []interface{}, vals []interface{}) error { function decodeBool (line 106) | func decodeBool(f reflect.Value, s string) error { function decodeInt8 (line 115) | func decodeInt8(f reflect.Value, s string) error { function decodeInt16 (line 119) | func decodeInt16(f reflect.Value, s string) error { function decodeInt32 (line 123) | func decodeInt32(f reflect.Value, s string) error { function decodeInt64 (line 127) | func decodeInt64(f reflect.Value, s string) error { function decodeInt (line 131) | func decodeInt(f reflect.Value, s string) error { function decodeNumber (line 135) | func decodeNumber(f reflect.Value, s string, bitSize int) error { function decodeUint8 (line 144) | func decodeUint8(f reflect.Value, s string) error { function decodeUint16 (line 148) | func decodeUint16(f reflect.Value, s string) error { function decodeUint32 (line 152) | func decodeUint32(f reflect.Value, s string) error { function decodeUint64 (line 156) | func decodeUint64(f reflect.Value, s string) error { function decodeUint (line 160) | func decodeUint(f reflect.Value, s string) error { function decodeUnsignedNumber (line 164) | func decodeUnsignedNumber(f reflect.Value, s string, bitSize int) error { function decodeFloat32 (line 173) | func decodeFloat32(f reflect.Value, s string) error { function decodeFloat64 (line 183) | func decodeFloat64(f reflect.Value, s string) error { function decodeString (line 192) | func decodeString(f reflect.Value, s string) error { function decodeSlice (line 197) | func decodeSlice(f reflect.Value, s string) error { function decodeUnsupported (line 205) | func decodeUnsupported(v reflect.Value, s string) error { FILE: internal/hscan/hscan_test.go type data (line 15) | type data struct type TimeRFC3339Nano (line 37) | type TimeRFC3339Nano struct method ScanRedis (line 41) | func (t *TimeRFC3339Nano) ScanRedis(s string) (err error) { type TimeData (line 46) | type TimeData struct type i (line 51) | type i function TestGinkgoSuite (line 53) | func TestGinkgoSuite(t *testing.T) { FILE: internal/hscan/structmap.go type structMap (line 15) | type structMap struct method get (line 23) | func (s *structMap) get(t reflect.Type) *structSpec { function newStructMap (line 19) | func newStructMap() *structMap { type structSpec (line 36) | type structSpec struct method set (line 40) | func (s *structSpec) set(tag string, sf *structField) { function newStructSpec (line 44) | func newStructSpec(t reflect.Type, fieldTag string) *structSpec { type structField (line 77) | type structField struct type StructValue (line 84) | type StructValue struct method Scan (line 89) | func (s StructValue) Scan(key string, value string) error { FILE: internal/interfaces/interfaces.go type NotificationProcessor (line 13) | type NotificationProcessor interface type ClientInterface (line 20) | type ClientInterface interface type OptionsInterface (line 30) | type OptionsInterface interface FILE: internal/internal.go function RetryBackoff (line 9) | func RetryBackoff(retry int, minBackoff, maxBackoff time.Duration) time.... FILE: internal/internal_test.go function TestRetryBackoff (line 10) | func TestRetryBackoff(t *testing.T) { FILE: internal/log.go type Logging (line 13) | type Logging interface type DefaultLogger (line 17) | type DefaultLogger struct method Printf (line 21) | func (l *DefaultLogger) Printf(ctx context.Context, format string, v .... function NewDefaultLogger (line 25) | func NewDefaultLogger() Logging { type LogLevelT (line 38) | type LogLevelT method String (line 49) | func (l LogLevelT) String() string { method IsValid (line 65) | func (l LogLevelT) IsValid() bool { method WarnOrAbove (line 69) | func (l LogLevelT) WarnOrAbove() bool { method InfoOrAbove (line 73) | func (l LogLevelT) InfoOrAbove() bool { method DebugOrAbove (line 77) | func (l LogLevelT) DebugOrAbove() bool { constant LogLevelError (line 42) | LogLevelError LogLevelT = iota constant LogLevelWarn (line 43) | LogLevelWarn constant LogLevelInfo (line 44) | LogLevelInfo constant LogLevelDebug (line 45) | LogLevelDebug FILE: internal/maintnotifications/logs/log_messages.go function appendJSONIfDebug (line 12) | func appendJSONIfDebug(message string, data map[string]interface{}) stri... constant CircuitBreakerTransitioningToHalfOpenMessage (line 24) | CircuitBreakerTransitioningToHalfOpenMessage = "circuit breaker transiti... constant CircuitBreakerOpenedMessage (line 25) | CircuitBreakerOpenedMessage = "circuit breaker opened" constant CircuitBreakerReopenedMessage (line 26) | CircuitBreakerReopenedMessage = "circuit breaker reopened" constant CircuitBreakerClosedMessage (line 27) | CircuitBreakerClosedMessage = "circuit breaker closed" constant CircuitBreakerCleanupMessage (line 28) | CircuitBreakerCleanupMessage = "circuit breaker cleanup" constant CircuitBreakerOpenMessage (line 29) | CircuitBreakerOpenMessage = "circuit breaker is open,... constant DebugLoggingEnabledMessage (line 34) | DebugLoggingEnabledMessage = "debug logging enabled" constant ConfigDebugMessage (line 35) | ConfigDebugMessage = "config debug" constant InvalidRelaxedTimeoutErrorMessage (line 40) | InvalidRelaxedTimeoutErrorMessage = "relaxed timeout mus... constant InvalidHandoffTimeoutErrorMessage (line 41) | InvalidHandoffTimeoutErrorMessage = "handoff timeout mus... constant InvalidHandoffWorkersErrorMessage (line 42) | InvalidHandoffWorkersErrorMessage = "MaxWorkers must be ... constant InvalidHandoffQueueSizeErrorMessage (line 43) | InvalidHandoffQueueSizeErrorMessage = "handoff queue size ... constant InvalidPostHandoffRelaxedDurationErrorMessage (line 44) | InvalidPostHandoffRelaxedDurationErrorMessage = "post-handoff relaxe... constant InvalidEndpointTypeErrorMessage (line 45) | InvalidEndpointTypeErrorMessage = "invalid endpoint type" constant InvalidMaintNotificationsErrorMessage (line 46) | InvalidMaintNotificationsErrorMessage = "invalid maintenance... constant InvalidHandoffRetriesErrorMessage (line 47) | InvalidHandoffRetriesErrorMessage = "MaxHandoffRetries m... constant InvalidClientErrorMessage (line 48) | InvalidClientErrorMessage = "invalid client type" constant InvalidNotificationErrorMessage (line 49) | InvalidNotificationErrorMessage = "invalid notificatio... constant MaxHandoffRetriesReachedErrorMessage (line 50) | MaxHandoffRetriesReachedErrorMessage = "max handoff retries... constant HandoffQueueFullErrorMessage (line 51) | HandoffQueueFullErrorMessage = "handoff queue is fu... constant InvalidCircuitBreakerFailureThresholdErrorMessage (line 52) | InvalidCircuitBreakerFailureThresholdErrorMessage = "circuit breaker fai... constant InvalidCircuitBreakerResetTimeoutErrorMessage (line 53) | InvalidCircuitBreakerResetTimeoutErrorMessage = "circuit breaker res... constant InvalidCircuitBreakerMaxRequestsErrorMessage (line 54) | InvalidCircuitBreakerMaxRequestsErrorMessage = "circuit breaker max... constant ConnectionMarkedForHandoffErrorMessage (line 55) | ConnectionMarkedForHandoffErrorMessage = "connection marked f... constant ConnectionInvalidHandoffStateErrorMessage (line 56) | ConnectionInvalidHandoffStateErrorMessage = "connection is in in... constant ShutdownErrorMessage (line 57) | ShutdownErrorMessage = "shutdown" constant CircuitBreakerOpenErrorMessage (line 58) | CircuitBreakerOpenErrorMessage = "circuit breaker is ... constant MetricsHookProcessingNotificationMessage (line 63) | MetricsHookProcessingNotificationMessage = "metrics hook processing" constant MetricsHookRecordedErrorMessage (line 64) | MetricsHookRecordedErrorMessage = "metrics hook recorded error" constant HandoffStartedMessage (line 69) | HandoffStartedMessage = "handoff started" constant HandoffFailedMessage (line 70) | HandoffFailedMessage = "handoff failed" constant ConnectionNotMarkedForHandoffMessage (line 71) | ConnectionNotMarkedForHandoffMessage = "is not marked for ha... constant ConnectionNotMarkedForHandoffErrorMessage (line 72) | ConnectionNotMarkedForHandoffErrorMessage = "is not marked for ha... constant HandoffRetryAttemptMessage (line 73) | HandoffRetryAttemptMessage = "Performing handoff" constant CannotQueueHandoffForRetryMessage (line 74) | CannotQueueHandoffForRetryMessage = "can't queue handoff ... constant HandoffQueueFullMessage (line 75) | HandoffQueueFullMessage = "handoff queue is full" constant FailedToDialNewEndpointMessage (line 76) | FailedToDialNewEndpointMessage = "failed to dial new e... constant ApplyingRelaxedTimeoutDueToPostHandoffMessage (line 77) | ApplyingRelaxedTimeoutDueToPostHandoffMessage = "applying relaxed tim... constant HandoffSuccessMessage (line 78) | HandoffSuccessMessage = "handoff succeeded" constant RemovingConnectionFromPoolMessage (line 79) | RemovingConnectionFromPoolMessage = "removing connection ... constant NoPoolProvidedMessageCannotRemoveMessage (line 80) | NoPoolProvidedMessageCannotRemoveMessage = "no pool provided, ca... constant WorkerExitingDueToShutdownMessage (line 81) | WorkerExitingDueToShutdownMessage = "worker exiting due t... constant WorkerExitingDueToShutdownWhileProcessingMessage (line 82) | WorkerExitingDueToShutdownWhileProcessingMessage = "worker exiting due t... constant WorkerPanicRecoveredMessage (line 83) | WorkerPanicRecoveredMessage = "worker panic recovered" constant WorkerExitingDueToInactivityTimeoutMessage (line 84) | WorkerExitingDueToInactivityTimeoutMessage = "worker exiting due t... constant ReachedMaxHandoffRetriesMessage (line 85) | ReachedMaxHandoffRetriesMessage = "reached max handoff ... constant DuplicateMovingOperationMessage (line 90) | DuplicateMovingOperationMessage = "duplicate MOVING operation ignored" constant TrackingMovingOperationMessage (line 91) | TrackingMovingOperationMessage = "tracking MOVING operation" constant UntrackingMovingOperationMessage (line 92) | UntrackingMovingOperationMessage = "untracking MOVING operation" constant OperationNotTrackedMessage (line 93) | OperationNotTrackedMessage = "operation not tracked" constant FailedToRegisterHandlerMessage (line 94) | FailedToRegisterHandlerMessage = "failed to register handler" constant ProcessingNotificationMessage (line 99) | ProcessingNotificationMessage = "processing notification started" constant ProcessingNotificationFailedMessage (line 100) | ProcessingNotificationFailedMessage = "proccessing notification failed" constant ProcessingNotificationSucceededMessage (line 101) | ProcessingNotificationSucceededMessage = "processing notification succee... constant FailedToQueueHandoffMessage (line 106) | FailedToQueueHandoffMessage = "failed to queue handoff" constant MarkedForHandoffMessage (line 107) | MarkedForHandoffMessage = "connection marked for handoff" constant InvalidNotificationFormatMessage (line 112) | InvalidNotificationFormatMessage = "invalid notification fo... constant InvalidNotificationTypeFormatMessage (line 113) | InvalidNotificationTypeFormatMessage = "invalid notification ty... constant InvalidSeqIDInMovingNotificationMessage (line 114) | InvalidSeqIDInMovingNotificationMessage = "invalid seqID in MOVING... constant InvalidTimeSInMovingNotificationMessage (line 115) | InvalidTimeSInMovingNotificationMessage = "invalid timeS in MOVING... constant InvalidNewEndpointInMovingNotificationMessage (line 116) | InvalidNewEndpointInMovingNotificationMessage = "invalid newEndpoint in ... constant NoConnectionInHandlerContextMessage (line 117) | NoConnectionInHandlerContextMessage = "no connection in handle... constant InvalidConnectionTypeInHandlerContextMessage (line 118) | InvalidConnectionTypeInHandlerContextMessage = "invalid connection type... constant SchedulingHandoffToCurrentEndpointMessage (line 119) | SchedulingHandoffToCurrentEndpointMessage = "scheduling handoff to c... constant RelaxedTimeoutDueToNotificationMessage (line 120) | RelaxedTimeoutDueToNotificationMessage = "applying relaxed timeou... constant UnrelaxedTimeoutMessage (line 121) | UnrelaxedTimeoutMessage = "clearing relaxed timeout" constant ManagerNotInitializedMessage (line 122) | ManagerNotInitializedMessage = "manager not initialized" constant FailedToMarkForHandoffMessage (line 123) | FailedToMarkForHandoffMessage = "failed to mark connecti... constant InvalidSeqIDInSMigratingNotificationMessage (line 124) | InvalidSeqIDInSMigratingNotificationMessage = "invalid SeqID in SMIGRA... constant InvalidSeqIDInSMigratedNotificationMessage (line 125) | InvalidSeqIDInSMigratedNotificationMessage = "invalid SeqID in SMIGRA... constant TriggeringClusterStateReloadMessage (line 126) | TriggeringClusterStateReloadMessage = "triggering cluster stat... constant UnrelaxedTimeoutAfterDeadlineMessage (line 131) | UnrelaxedTimeoutAfterDeadlineMessage = "clearing relaxed timeout after d... function HandoffStarted (line 134) | func HandoffStarted(connID uint64, newEndpoint string) string { function HandoffFailed (line 142) | func HandoffFailed(connID uint64, newEndpoint string, attempt int, maxAt... function HandoffSucceeded (line 153) | func HandoffSucceeded(connID uint64, newEndpoint string) string { function RelaxedTimeoutDueToNotification (line 162) | func RelaxedTimeoutDueToNotification(connID uint64, notificationType str... function UnrelaxedTimeout (line 171) | func UnrelaxedTimeout(connID uint64) string { function UnrelaxedTimeoutAfterDeadline (line 178) | func UnrelaxedTimeoutAfterDeadline(connID uint64) string { function HandoffQueueFull (line 186) | func HandoffQueueFull(queueLen, queueCap int) string { function FailedToQueueHandoff (line 194) | func FailedToQueueHandoff(connID uint64, err error) string { function FailedToMarkForHandoff (line 202) | func FailedToMarkForHandoff(connID uint64, err error) string { function FailedToDialNewEndpoint (line 210) | func FailedToDialNewEndpoint(connID uint64, endpoint string, err error) ... function ReachedMaxHandoffRetries (line 219) | func ReachedMaxHandoffRetries(connID uint64, endpoint string, maxRetries... function ProcessingNotification (line 229) | func ProcessingNotification(connID uint64, seqID int64, notificationType... function ProcessingNotificationFailed (line 239) | func ProcessingNotificationFailed(connID uint64, notificationType string... function ProcessingNotificationSucceeded (line 249) | func ProcessingNotificationSucceeded(connID uint64, notificationType str... function DuplicateMovingOperation (line 258) | func DuplicateMovingOperation(connID uint64, endpoint string, seqID int6... function TrackingMovingOperation (line 267) | func TrackingMovingOperation(connID uint64, endpoint string, seqID int64... function UntrackingMovingOperation (line 276) | func UntrackingMovingOperation(connID uint64, seqID int64) string { function OperationNotTracked (line 284) | func OperationNotTracked(connID uint64, seqID int64) string { function RemovingConnectionFromPool (line 293) | func RemovingConnectionFromPool(connID uint64, reason error) string { function NoPoolProvidedCannotRemove (line 306) | func NoPoolProvidedCannotRemove(connID uint64, reason error) string { function CircuitBreakerOpen (line 320) | func CircuitBreakerOpen(connID uint64, endpoint string) string { function ConnectionNotMarkedForHandoff (line 329) | func ConnectionNotMarkedForHandoff(connID uint64) string { function ConnectionNotMarkedForHandoffError (line 336) | func ConnectionNotMarkedForHandoffError(connID uint64) string { function HandoffRetryAttempt (line 340) | func HandoffRetryAttempt(connID uint64, retries int, newEndpoint string,... function CannotQueueHandoffForRetry (line 350) | func CannotQueueHandoffForRetry(err error) string { function InvalidNotificationFormat (line 358) | func InvalidNotificationFormat(notification interface{}) string { function InvalidNotificationTypeFormat (line 365) | func InvalidNotificationTypeFormat(notificationType interface{}) string { function InvalidNotification (line 373) | func InvalidNotification(notificationType string, notification interface... function InvalidSeqIDInMovingNotification (line 381) | func InvalidSeqIDInMovingNotification(seqID interface{}) string { function InvalidTimeSInMovingNotification (line 388) | func InvalidTimeSInMovingNotification(timeS interface{}) string { function InvalidNewEndpointInMovingNotification (line 395) | func InvalidNewEndpointInMovingNotification(newEndpoint interface{}) str... function NoConnectionInHandlerContext (line 402) | func NoConnectionInHandlerContext(notificationType string) string { function InvalidConnectionTypeInHandlerContext (line 409) | func InvalidConnectionTypeInHandlerContext(notificationType string, conn... function SchedulingHandoffToCurrentEndpoint (line 417) | func SchedulingHandoffToCurrentEndpoint(connID uint64, seconds float64) ... function ManagerNotInitialized (line 425) | func ManagerNotInitialized() string { function FailedToRegisterHandler (line 429) | func FailedToRegisterHandler(notificationType string, err error) string { function ShutdownError (line 437) | func ShutdownError() string { function InvalidRelaxedTimeoutError (line 442) | func InvalidRelaxedTimeoutError() string { function InvalidHandoffTimeoutError (line 446) | func InvalidHandoffTimeoutError() string { function InvalidHandoffWorkersError (line 450) | func InvalidHandoffWorkersError() string { function InvalidHandoffQueueSizeError (line 454) | func InvalidHandoffQueueSizeError() string { function InvalidPostHandoffRelaxedDurationError (line 458) | func InvalidPostHandoffRelaxedDurationError() string { function InvalidEndpointTypeError (line 462) | func InvalidEndpointTypeError() string { function InvalidMaintNotificationsError (line 466) | func InvalidMaintNotificationsError() string { function InvalidHandoffRetriesError (line 470) | func InvalidHandoffRetriesError() string { function InvalidClientError (line 474) | func InvalidClientError() string { function InvalidNotificationError (line 478) | func InvalidNotificationError() string { function MaxHandoffRetriesReachedError (line 482) | func MaxHandoffRetriesReachedError() string { function HandoffQueueFullError (line 486) | func HandoffQueueFullError() string { function InvalidCircuitBreakerFailureThresholdError (line 490) | func InvalidCircuitBreakerFailureThresholdError() string { function InvalidCircuitBreakerResetTimeoutError (line 494) | func InvalidCircuitBreakerResetTimeoutError() string { function InvalidCircuitBreakerMaxRequestsError (line 498) | func InvalidCircuitBreakerMaxRequestsError() string { function DebugLoggingEnabled (line 503) | func DebugLoggingEnabled() string { function ConfigDebug (line 507) | func ConfigDebug(config interface{}) string { function WorkerExitingDueToShutdown (line 515) | func WorkerExitingDueToShutdown() string { function WorkerExitingDueToShutdownWhileProcessing (line 519) | func WorkerExitingDueToShutdownWhileProcessing() string { function WorkerPanicRecovered (line 523) | func WorkerPanicRecovered(panicValue interface{}) string { function WorkerExitingDueToInactivityTimeout (line 530) | func WorkerExitingDueToInactivityTimeout(timeout interface{}) string { function ApplyingRelaxedTimeoutDueToPostHandoff (line 537) | func ApplyingRelaxedTimeoutDueToPostHandoff(connID uint64, timeout inter... function MetricsHookProcessingNotification (line 547) | func MetricsHookProcessingNotification(notificationType string, connID u... function MetricsHookRecordedError (line 555) | func MetricsHookRecordedError(notificationType string, connID uint64, er... function MarkedForHandoff (line 565) | func MarkedForHandoff(connID uint64) string { function CircuitBreakerTransitioningToHalfOpen (line 573) | func CircuitBreakerTransitioningToHalfOpen(endpoint string) string { function CircuitBreakerOpened (line 580) | func CircuitBreakerOpened(endpoint string, failures int64) string { function CircuitBreakerReopened (line 588) | func CircuitBreakerReopened(endpoint string) string { function CircuitBreakerClosed (line 595) | func CircuitBreakerClosed(endpoint string, successes int64) string { function CircuitBreakerCleanup (line 603) | func CircuitBreakerCleanup(removed int, total int) string { function ExtractDataFromLogMessage (line 615) | func ExtractDataFromLogMessage(logMessage string) map[string]interface{} { function InvalidSeqIDInSMigratingNotification (line 641) | func InvalidSeqIDInSMigratingNotification(seqID interface{}) string { function InvalidSeqIDInSMigratedNotification (line 648) | func InvalidSeqIDInSMigratedNotification(seqID interface{}) string { function TriggeringClusterStateReload (line 656) | func TriggeringClusterStateReload(seqID int64, hostPort string, slotRang... FILE: internal/once.go type Once (line 28) | type Once struct method Do (line 48) | func (o *Once) Do(f func() error) error { FILE: internal/otel/metrics.go function generateUniqueID (line 14) | func generateUniqueID() string { type Cmder (line 24) | type Cmder interface type Recorder (line 32) | type Recorder interface type PubSubPooler (line 90) | type PubSubPooler interface type PoolRegistrar (line 94) | type PoolRegistrar interface function GetOperationDurationCallback (line 124) | func GetOperationDurationCallback() func(ctx context.Context, duration t... function GetPipelineOperationDurationCallback (line 132) | func GetPipelineOperationDurationCallback() func(ctx context.Context, du... function getRecorder (line 140) | func getRecorder() Recorder { function SetGlobalRecorder (line 148) | func SetGlobalRecorder(r Recorder) { function RecordOperationDuration (line 201) | func RecordOperationDuration(ctx context.Context, duration time.Duration... function RecordPipelineOperationDuration (line 210) | func RecordPipelineOperationDuration(ctx context.Context, duration time.... function RecordConnectionCreateTime (line 215) | func RecordConnectionCreateTime(ctx context.Context, duration time.Durat... function RecordPubSubMessage (line 220) | func RecordPubSubMessage(ctx context.Context, cn *pool.Conn, direction, ... function RecordStreamLag (line 225) | func RecordStreamLag(ctx context.Context, lag time.Duration, cn *pool.Co... type noopRecorder (line 229) | type noopRecorder struct method RecordOperationDuration (line 231) | func (noopRecorder) RecordOperationDuration(context.Context, time.Dura... method RecordPipelineOperationDuration (line 233) | func (noopRecorder) RecordPipelineOperationDuration(context.Context, t... method RecordConnectionCreateTime (line 235) | func (noopRecorder) RecordConnectionCreateTime(context.Context, time.D... method RecordConnectionRelaxedTimeout (line 236) | func (noopRecorder) RecordConnectionRelaxedTimeout(context.Context, in... method RecordConnectionHandoff (line 238) | func (noopRecorder) RecordConnectionHandoff(context.Context, *pool.Con... method RecordError (line 239) | func (noopRecorder) RecordError(context.Context, string, *pool.Conn, s... method RecordMaintenanceNotification (line 240) | func (noopRecorder) RecordMaintenanceNotification(context.Context, *po... method RecordConnectionWaitTime (line 242) | func (noopRecorder) RecordConnectionWaitTime(context.Context, time.Dur... method RecordConnectionClosed (line 243) | func (noopRecorder) RecordConnectionClosed(context.Context, *pool.Conn... method RecordPubSubMessage (line 245) | func (noopRecorder) RecordPubSubMessage(context.Context, *pool.Conn, s... method RecordStreamLag (line 247) | func (noopRecorder) RecordStreamLag(context.Context, time.Duration, *p... function RegisterPools (line 251) | func RegisterPools(connPool pool.Pooler, pubSubPool PubSubPooler, addr s... function UnregisterPools (line 269) | func UnregisterPools(connPool pool.Pooler, pubSubPool PubSubPooler) { FILE: internal/pool/bench_test.go type poolGetPutBenchmark (line 13) | type poolGetPutBenchmark struct method String (line 17) | func (bm poolGetPutBenchmark) String() string { function BenchmarkPoolGetPut (line 21) | func BenchmarkPoolGetPut(b *testing.B) { type poolGetRemoveBenchmark (line 57) | type poolGetRemoveBenchmark struct method String (line 61) | func (bm poolGetRemoveBenchmark) String() string { function BenchmarkPoolGetRemove (line 65) | func BenchmarkPoolGetRemove(b *testing.B) { FILE: internal/pool/buffer_size_test.go function getWriterBufSizeUnsafe (line 135) | func getWriterBufSizeUnsafe(cn *pool.Conn) int { function getReaderBufSizeUnsafe (line 163) | func getReaderBufSizeUnsafe(cn *pool.Conn) int { FILE: internal/pool/conn.go function getCachedTimeNs (line 36) | func getCachedTimeNs() int64 { function GetCachedTimeNs (line 42) | func GetCachedTimeNs() int64 { type HandoffState (line 52) | type HandoffState struct type atomicNetConn (line 59) | type atomicNetConn struct function generateConnID (line 64) | func generateConnID() uint64 { type Conn (line 68) | type Conn struct method UsedAt (line 168) | func (cn *Conn) UsedAt() time.Time { method SetUsedAt (line 171) | func (cn *Conn) SetUsedAt(tm time.Time) { method UsedAtNs (line 175) | func (cn *Conn) UsedAtNs() int64 { method SetUsedAtNs (line 178) | func (cn *Conn) SetUsedAtNs(ns int64) { method LastPutAtNs (line 182) | func (cn *Conn) LastPutAtNs() int64 { method SetLastPutAtNs (line 185) | func (cn *Conn) SetLastPutAtNs(ns int64) { method GetDialStartNs (line 191) | func (cn *Conn) GetDialStartNs() int64 { method PoolName (line 197) | func (cn *Conn) PoolName() string { method SetPoolName (line 203) | func (cn *Conn) SetPoolName(name string) { method CompareAndSwapUsable (line 221) | func (cn *Conn) CompareAndSwapUsable(old, new bool) bool { method IsUsable (line 266) | func (cn *Conn) IsUsable() bool { method SetUsable (line 285) | func (cn *Conn) SetUsable(usable bool) { method IsInited (line 297) | func (cn *Conn) IsInited() bool { method CompareAndSwapUsed (line 315) | func (cn *Conn) CompareAndSwapUsed(old, new bool) bool { method IsUsed (line 344) | func (cn *Conn) IsUsed() bool { method SetUsed (line 356) | func (cn *Conn) SetUsed(val bool) { method getNetConn (line 366) | func (cn *Conn) getNetConn() net.Conn { method setNetConn (line 377) | func (cn *Conn) setNetConn(netConn net.Conn) { method ShouldHandoff (line 384) | func (cn *Conn) ShouldHandoff() bool { method GetHandoffEndpoint (line 392) | func (cn *Conn) GetHandoffEndpoint() string { method GetMovingSeqID (line 400) | func (cn *Conn) GetMovingSeqID() int64 { method GetHandoffInfo (line 410) | func (cn *Conn) GetHandoffInfo() (bool, string, int64) { method HandoffRetries (line 419) | func (cn *Conn) HandoffRetries() int { method IncrementAndGetHandoffRetries (line 424) | func (cn *Conn) IncrementAndGetHandoffRetries(n int) int { method IsPooled (line 429) | func (cn *Conn) IsPooled() bool { method IsPubSub (line 434) | func (cn *Conn) IsPubSub() bool { method SetRelaxedTimeout (line 443) | func (cn *Conn) SetRelaxedTimeout(readTimeout, writeTimeout time.Durat... method SetRelaxedTimeoutWithDeadline (line 452) | func (cn *Conn) SetRelaxedTimeoutWithDeadline(readTimeout, writeTimeou... method ClearRelaxedTimeout (line 459) | func (cn *Conn) ClearRelaxedTimeout() { method clearRelaxedTimeout (line 472) | func (cn *Conn) clearRelaxedTimeout() { method HasRelaxedTimeout (line 487) | func (cn *Conn) HasRelaxedTimeout() bool { method getEffectiveReadTimeout (line 514) | func (cn *Conn) getEffectiveReadTimeout(normalTimeout time.Duration) t... method getEffectiveWriteTimeout (line 548) | func (cn *Conn) getEffectiveWriteTimeout(normalTimeout time.Duration) ... method SetOnClose (line 579) | func (cn *Conn) SetOnClose(fn func() error) { method SetInitConnFunc (line 584) | func (cn *Conn) SetInitConnFunc(fn func(context.Context, *Conn) error) { method ExecuteInitConn (line 589) | func (cn *Conn) ExecuteInitConn(ctx context.Context) error { method SetNetConn (line 596) | func (cn *Conn) SetNetConn(netConn net.Conn) { method GetNetConn (line 610) | func (cn *Conn) GetNetConn() net.Conn { method SetNetConnAndInitConn (line 617) | func (cn *Conn) SetNetConnAndInitConn(ctx context.Context, netConn net... method MarkForHandoff (line 660) | func (cn *Conn) MarkForHandoff(newEndpoint string, seqID int64) error { method MarkQueuedForHandoff (line 679) | func (cn *Conn) MarkQueuedForHandoff() error { method GetID (line 727) | func (cn *Conn) GetID() uint64 { method GetStateMachine (line 733) | func (cn *Conn) GetStateMachine() *ConnStateMachine { method TryAcquire (line 752) | func (cn *Conn) TryAcquire() bool { method Release (line 770) | func (cn *Conn) Release() bool { method ClearHandoffState (line 777) | func (cn *Conn) ClearHandoffState() { method HasBufferedData (line 796) | func (cn *Conn) HasBufferedData() bool { method PeekReplyTypeSafe (line 805) | func (cn *Conn) PeekReplyTypeSafe() (byte, error) { method Write (line 816) | func (cn *Conn) Write(b []byte) (int, error) { method RemoteAddr (line 824) | func (cn *Conn) RemoteAddr() net.Addr { method WithReader (line 832) | func (cn *Conn) WithReader( method WithWriter (line 852) | func (cn *Conn) WithWriter( method IsClosed (line 884) | func (cn *Conn) IsClosed() bool { method Close (line 888) | func (cn *Conn) Close() error { method MaybeHasData (line 909) | func (cn *Conn) MaybeHasData() bool { method deadline (line 920) | func (cn *Conn) deadline(ctx context.Context, timeout time.Duration) t... function NewConn (line 128) | func NewConn(netConn net.Conn) *Conn { function NewConnWithBufferSize (line 132) | func NewConnWithBufferSize(netConn net.Conn, readBufSize, writeBufSize i... FILE: internal/pool/conn_check.go function connCheck (line 18) | func connCheck(conn net.Conn) error { function maybeHasData (line 57) | func maybeHasData(conn net.Conn) bool { FILE: internal/pool/conn_check_dummy.go function connCheck (line 13) | func connCheck(_ net.Conn) error { function maybeHasData (line 18) | func maybeHasData(_ net.Conn) bool { FILE: internal/pool/conn_relaxed_timeout_test.go function TestConcurrentRelaxedTimeoutClearing (line 11) | func TestConcurrentRelaxedTimeoutClearing(t *testing.T) { function TestRelaxedTimeoutCounterRaceCondition (line 51) | func TestRelaxedTimeoutCounterRaceCondition(t *testing.T) { FILE: internal/pool/conn_state.go type ConnState (line 22) | type ConnState method String (line 73) | func (s ConnState) String() string { constant StateCreated (line 26) | StateCreated ConnState = iota constant StateInitializing (line 29) | StateInitializing constant StateIdle (line 32) | StateIdle constant StateInUse (line 35) | StateInUse constant StateUnusable (line 39) | StateUnusable constant StateClosed (line 42) | StateClosed function ValidFromIdle (line 62) | func ValidFromIdle() []ConnState { function ValidFromCreatedIdleOrUnusable (line 68) | func ValidFromCreatedIdleOrUnusable() []ConnState { type waiter (line 105) | type waiter struct type ConnStateMachine (line 118) | type ConnStateMachine struct method GetState (line 142) | func (sm *ConnStateMachine) GetState() ConnState { method TryTransitionFast (line 159) | func (sm *ConnStateMachine) TryTransitionFast(fromState, targetState C... method TryTransition (line 171) | func (sm *ConnStateMachine) TryTransition(validFromStates []ConnState,... method Transition (line 199) | func (sm *ConnStateMachine) Transition(targetState ConnState) { method AwaitAndTransition (line 216) | func (sm *ConnStateMachine) AwaitAndTransition( method notifyWaiters (line 285) | func (sm *ConnStateMachine) notifyWaiters() { function NewConnStateMachine (line 130) | func NewConnStateMachine() *ConnStateMachine { FILE: internal/pool/conn_state_alloc_test.go function TestPredefinedSlicesAvoidAllocations (line 10) | func TestPredefinedSlicesAvoidAllocations(t *testing.T) { function TestInlineSliceAllocations (line 27) | func TestInlineSliceAllocations(t *testing.T) { function BenchmarkAwaitAndTransition_PredefinedSlice (line 46) | func BenchmarkAwaitAndTransition_PredefinedSlice(b *testing.B) { function BenchmarkAwaitAndTransition_InlineSlice (line 61) | func BenchmarkAwaitAndTransition_InlineSlice(b *testing.B) { function BenchmarkAwaitAndTransition_MultipleStates_Predefined (line 76) | func BenchmarkAwaitAndTransition_MultipleStates_Predefined(b *testing.B) { function BenchmarkAwaitAndTransition_MultipleStates_Inline (line 91) | func BenchmarkAwaitAndTransition_MultipleStates_Inline(b *testing.B) { function TestPreallocatedErrorsAvoidAllocations (line 107) | func TestPreallocatedErrorsAvoidAllocations(t *testing.T) { function BenchmarkHandoffErrors_Preallocated (line 127) | func BenchmarkHandoffErrors_Preallocated(b *testing.B) { function BenchmarkCompareAndSwapUsable_Preallocated (line 140) | func BenchmarkCompareAndSwapUsable_Preallocated(b *testing.B) { function TestAllTryTransitionUsePredefinedSlices (line 154) | func TestAllTryTransitionUsePredefinedSlices(t *testing.T) { FILE: internal/pool/conn_state_test.go function TestConnStateMachine_GetState (line 11) | func TestConnStateMachine_GetState(t *testing.T) { function TestConnStateMachine_Transition (line 19) | func TestConnStateMachine_Transition(t *testing.T) { function TestConnStateMachine_TryTransition (line 34) | func TestConnStateMachine_TryTransition(t *testing.T) { function TestConnStateMachine_AwaitAndTransition_FastPath (line 95) | func TestConnStateMachine_AwaitAndTransition_FastPath(t *testing.T) { function TestConnStateMachine_AwaitAndTransition_Timeout (line 112) | func TestConnStateMachine_AwaitAndTransition_Timeout(t *testing.T) { function TestConnStateMachine_AwaitAndTransition_FIFO (line 129) | func TestConnStateMachine_AwaitAndTransition_FIFO(t *testing.T) { function TestConnStateMachine_ConcurrentAccess (line 192) | func TestConnStateMachine_ConcurrentAccess(t *testing.T) { function TestConnStateMachine_StateString (line 232) | func TestConnStateMachine_StateString(t *testing.T) { function BenchmarkConnStateMachine_GetState (line 255) | func BenchmarkConnStateMachine_GetState(b *testing.B) { function TestConnStateMachine_PreventsConcurrentInitialization (line 265) | func TestConnStateMachine_PreventsConcurrentInitialization(t *testing.T) { function TestConnStateMachine_AwaitAndTransitionWaitsForInitialization (line 329) | func TestConnStateMachine_AwaitAndTransitionWaitsForInitialization(t *te... function TestConnStateMachine_FIFOOrdering (line 393) | func TestConnStateMachine_FIFOOrdering(t *testing.T) { function TestConnStateMachine_FIFOWithFastPath (line 464) | func TestConnStateMachine_FIFOWithFastPath(t *testing.T) { function BenchmarkConnStateMachine_TryTransition (line 531) | func BenchmarkConnStateMachine_TryTransition(b *testing.B) { function TestConnStateMachine_IdleInUseTransitions (line 542) | func TestConnStateMachine_IdleInUseTransitions(t *testing.T) { function TestConn_UsedMethods (line 595) | func TestConn_UsedMethods(t *testing.T) { function TestConnStateMachine_UnusableState (line 639) | func TestConnStateMachine_UnusableState(t *testing.T) { function TestConn_UsableUnusable (line 687) | func TestConn_UsableUnusable(t *testing.T) { FILE: internal/pool/conn_used_at_test.go function TestConn_UsedAtUpdatedOnRead (line 13) | func TestConn_UsedAtUpdatedOnRead(t *testing.T) { function TestConn_UsedAtUpdatedOnWrite (line 56) | func TestConn_UsedAtUpdatedOnWrite(t *testing.T) { function TestConn_UsedAtUpdatedOnMultipleOperations (line 101) | func TestConn_UsedAtUpdatedOnMultipleOperations(t *testing.T) { function TestConn_UsedAtNotUpdatedWithoutOperation (line 149) | func TestConn_UsedAtNotUpdatedWithoutOperation(t *testing.T) { function TestConn_UsedAtConcurrentUpdates (line 175) | func TestConn_UsedAtConcurrentUpdates(t *testing.T) { function TestConn_UsedAtPrecision (line 225) | func TestConn_UsedAtPrecision(t *testing.T) { FILE: internal/pool/dial_conn_retry_test.go function TestDialConn_HangingDial_RetriesWithPerAttemptTimeout (line 12) | func TestDialConn_HangingDial_RetriesWithPerAttemptTimeout(t *testing.T) { function TestDialConn_DoesNotExtendEarlierParentDeadline (line 78) | func TestDialConn_DoesNotExtendEarlierParentDeadline(t *testing.T) { function TestDialConn_ContextCancelStopsFurtherRetries (line 114) | func TestDialConn_ContextCancelStopsFurtherRetries(t *testing.T) { function TestDialConn_DialTimeoutDisabled_DoesNotSetDeadline (line 151) | func TestDialConn_DialTimeoutDisabled_DoesNotSetDeadline(t *testing.T) { function TestDialConn_NoBackoffAfterLastAttempt (line 178) | func TestDialConn_NoBackoffAfterLastAttempt(t *testing.T) { FILE: internal/pool/dial_context_timeout_test.go function TestDialConn_AppliesDialTimeoutPerAttemptViaContext (line 13) | func TestDialConn_AppliesDialTimeoutPerAttemptViaContext(t *testing.T) { FILE: internal/pool/dial_retry_backoff_test.go function TestDialRetryBackoff_ConstantByDefault_ExponentialWhenMaxSet (line 8) | func TestDialRetryBackoff_ConstantByDefault_ExponentialWhenMaxSet(t *tes... FILE: internal/pool/double_freeturn_simple_test.go function TestDoubleFreeTurnSimple (line 27) | func TestDoubleFreeTurnSimple(t *testing.T) { FILE: internal/pool/double_freeturn_test.go function TestDoubleFreeTurnBug (line 22) | func TestDoubleFreeTurnBug(t *testing.T) { function TestDoubleFreeTurnHighConcurrency (line 139) | func TestDoubleFreeTurnHighConcurrency(t *testing.T) { FILE: internal/pool/export_test.go method SetCreatedAt (line 8) | func (cn *Conn) SetCreatedAt(tm time.Time) { method NetConn (line 12) | func (cn *Conn) NetConn() net.Conn { method CheckMinIdleConns (line 16) | func (p *ConnPool) CheckMinIdleConns() { method QueueLen (line 22) | func (p *ConnPool) QueueLen() int { method DialsQueueLen (line 26) | func (p *ConnPool) DialsQueueLen() int { method CalcConnExpiresAt (line 32) | func (p *ConnPool) CalcConnExpiresAt() time.Time { FILE: internal/pool/hooks.go type PoolHook (line 9) | type PoolHook interface type PoolHookManager (line 36) | type PoolHookManager struct method AddHook (line 50) | func (phm *PoolHookManager) AddHook(hook PoolHook) { method RemoveHook (line 57) | func (phm *PoolHookManager) RemoveHook(hook PoolHook) { method ProcessOnGet (line 73) | func (phm *PoolHookManager) ProcessOnGet(ctx context.Context, conn *Co... method ProcessOnPut (line 95) | func (phm *PoolHookManager) ProcessOnPut(ctx context.Context, conn *Co... method ProcessOnRemove (line 125) | func (phm *PoolHookManager) ProcessOnRemove(ctx context.Context, conn ... method GetHookCount (line 138) | func (phm *PoolHookManager) GetHookCount() int { method GetHooks (line 145) | func (phm *PoolHookManager) GetHooks() []PoolHook { method Clone (line 156) | func (phm *PoolHookManager) Clone() *PoolHookManager { function NewPoolHookManager (line 42) | func NewPoolHookManager() *PoolHookManager { FILE: internal/pool/hooks_test.go type TestHook (line 12) | type TestHook struct method OnGet (line 23) | func (th *TestHook) OnGet(ctx context.Context, conn *Conn, isNewConn b... method OnPut (line 28) | func (th *TestHook) OnPut(ctx context.Context, conn *Conn) (shouldPool... method OnRemove (line 33) | func (th *TestHook) OnRemove(ctx context.Context, conn *Conn, reason e... function TestPoolHookManager (line 37) | func TestPoolHookManager(t *testing.T) { function TestHookErrorHandling (line 106) | func TestHookErrorHandling(t *testing.T) { function TestHookShouldRemove (line 143) | func TestHookShouldRemove(t *testing.T) { function TestPoolWithHooks (line 184) | func TestPoolWithHooks(t *testing.T) { FILE: internal/pool/main_test.go function TestGinkgoSuite (line 16) | func TestGinkgoSuite(t *testing.T) { function perform (line 21) | func perform(n int, cbs ...func(int)) { function dummyDialer (line 37) | func dummyDialer(context.Context) (net.Conn, error) { function newDummyConn (line 41) | func newDummyConn() net.Conn { type dummyConn (line 52) | type dummyConn struct method SyscallConn (line 56) | func (d *dummyConn) SyscallConn() (syscall.RawConn, error) { method Read (line 62) | func (d *dummyConn) Read(b []byte) (n int, err error) { method Write (line 66) | func (d *dummyConn) Write(b []byte) (n int, err error) { method Close (line 70) | func (d *dummyConn) Close() error { method LocalAddr (line 75) | func (d *dummyConn) LocalAddr() net.Addr { method RemoteAddr (line 79) | func (d *dummyConn) RemoteAddr() net.Addr { method SetDeadline (line 83) | func (d *dummyConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 87) | func (d *dummyConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 91) | func (d *dummyConn) SetWriteDeadline(t time.Time) error { type dummyRawConn (line 97) | type dummyRawConn struct method Control (line 102) | func (d *dummyRawConn) Control(f func(fd uintptr)) error { method Read (line 106) | func (d *dummyRawConn) Read(f func(fd uintptr) (done bool)) error { method Write (line 115) | func (d *dummyRawConn) Write(f func(fd uintptr) (done bool)) error { method Close (line 119) | func (d *dummyRawConn) Close() { FILE: internal/pool/pool.go constant CloseReasonStale (line 21) | CloseReasonStale = "stale" constant CloseReasonHookError (line 25) | CloseReasonHookError = "hook_error" constant CloseReasonAuthError (line 29) | CloseReasonAuthError = "auth_error" constant CloseReasonTest (line 32) | CloseReasonTest = "test" constant MetricStateIdle (line 41) | MetricStateIdle = "idle" constant MetricStateUsed (line 45) | MetricStateUsed = "used" type MetricCallbacks (line 127) | type MetricCallbacks struct function SetAllMetricCallbacks (line 161) | func SetAllMetricCallbacks(callbacks *MetricCallbacks) { function getMetricConnectionStateChangeCallback (line 186) | func getMetricConnectionStateChangeCallback() func(ctx context.Context, ... function GetMetricConnectionCreateTimeCallback (line 194) | func GetMetricConnectionCreateTimeCallback() func(ctx context.Context, d... function GetMetricConnectionRelaxedTimeoutCallback (line 203) | func GetMetricConnectionRelaxedTimeoutCallback() func(ctx context.Contex... function GetMetricConnectionHandoffCallback (line 212) | func GetMetricConnectionHandoffCallback() func(ctx context.Context, cn *... function GetMetricErrorCallback (line 221) | func GetMetricErrorCallback() func(ctx context.Context, errorType string... function GetMetricMaintenanceNotificationCallback (line 230) | func GetMetricMaintenanceNotificationCallback() func(ctx context.Context... function getMetricConnectionWaitTimeCallback (line 237) | func getMetricConnectionWaitTimeCallback() func(ctx context.Context, dur... function getMetricConnectionTimeoutCallback (line 244) | func getMetricConnectionTimeoutCallback() func(ctx context.Context, cn *... function getMetricConnectionClosedCallback (line 251) | func getMetricConnectionClosedCallback() func(ctx context.Context, cn *C... type Stats (line 259) | type Stats struct type Pooler (line 275) | type Pooler interface type Options (line 303) | type Options struct type lastDialErrorWrap (line 338) | type lastDialErrorWrap struct type ConnPool (line 342) | type ConnPool struct method initializeHooks (line 399) | func (p *ConnPool) initializeHooks() { method AddPoolHook (line 405) | func (p *ConnPool) AddPoolHook(hook PoolHook) { method RemovePoolHook (line 422) | func (p *ConnPool) RemovePoolHook(hook PoolHook) { method checkMinIdleConns (line 434) | func (p *ConnPool) checkMinIdleConns() { method addIdleConn (line 494) | func (p *ConnPool) addIdleConn() error { method NewConn (line 523) | func (p *ConnPool) NewConn(ctx context.Context) (*Conn, error) { method newConn (line 527) | func (p *ConnPool) newConn(ctx context.Context, pooled bool) (*Conn, e... method dialConn (line 588) | func (p *ConnPool) dialConn(ctx context.Context, pooled bool) (*Conn, ... method dialRetryBackoff (line 672) | func (p *ConnPool) dialRetryBackoff(attempt int) time.Duration { method calcConnExpiresAt (line 692) | func (p *ConnPool) calcConnExpiresAt() time.Time { method tryDial (line 707) | func (p *ConnPool) tryDial() { method setLastDialError (line 737) | func (p *ConnPool) setLastDialError(err error) { method getLastDialError (line 741) | func (p *ConnPool) getLastDialError() error { method Get (line 750) | func (p *ConnPool) Get(ctx context.Context) (*Conn, error) { method getConn (line 755) | func (p *ConnPool) getConn(ctx context.Context) (cn *Conn, err error) { method queuedNewConn (line 901) | func (p *ConnPool) queuedNewConn(ctx context.Context) (*Conn, error) { method putIdleConn (line 980) | func (p *ConnPool) putIdleConn(ctx context.Context, cn *Conn) bool { method waitTurn (line 1006) | func (p *ConnPool) waitTurn(ctx context.Context) error { method freeTurn (line 1035) | func (p *ConnPool) freeTurn() { method popIdle (line 1039) | func (p *ConnPool) popIdle() (*Conn, error) { method Put (line 1101) | func (p *ConnPool) Put(ctx context.Context, cn *Conn) { method putConnWithoutTurn (line 1108) | func (p *ConnPool) putConnWithoutTurn(ctx context.Context, cn *Conn) { method putConn (line 1113) | func (p *ConnPool) putConn(ctx context.Context, cn *Conn, freeTurn boo... method Remove (line 1240) | func (p *ConnPool) Remove(ctx context.Context, cn *Conn, reason error) { method RemoveWithoutTurn (line 1248) | func (p *ConnPool) RemoveWithoutTurn(ctx context.Context, cn *Conn, re... method removeConnInternal (line 1253) | func (p *ConnPool) removeConnInternal(ctx context.Context, cn *Conn, r... method CloseConn (line 1293) | func (p *ConnPool) CloseConn(ctx context.Context, cn *Conn, reason str... method removeConnWithLock (line 1309) | func (p *ConnPool) removeConnWithLock(cn *Conn) { method removeConn (line 1315) | func (p *ConnPool) removeConn(cn *Conn) { method closeConn (line 1334) | func (p *ConnPool) closeConn(cn *Conn) error { method Len (line 1339) | func (p *ConnPool) Len() int { method IdleLen (line 1347) | func (p *ConnPool) IdleLen() int { method Size (line 1358) | func (p *ConnPool) Size() int { method Stats (line 1362) | func (p *ConnPool) Stats() *Stats { method closed (line 1378) | func (p *ConnPool) closed() bool { method Filter (line 1382) | func (p *ConnPool) Filter(fn func(*Conn) bool) error { method Close (line 1397) | func (p *ConnPool) Close() error { method isHealthyConn (line 1418) | func (p *ConnPool) isHealthyConn(cn *Conn, nowNs int64) bool { function NewConnPool (line 376) | func NewConnPool(opt *Options) *ConnPool { FILE: internal/pool/pool_single.go type SingleConnPool (line 11) | type SingleConnPool struct method NewConn (line 32) | func (p *SingleConnPool) NewConn(ctx context.Context) (*Conn, error) { method CloseConn (line 36) | func (p *SingleConnPool) CloseConn(ctx context.Context, cn *Conn, reas... method Get (line 40) | func (p *SingleConnPool) Get(_ context.Context) (*Conn, error) { method Put (line 59) | func (p *SingleConnPool) Put(_ context.Context, cn *Conn) { method Remove (line 69) | func (p *SingleConnPool) Remove(_ context.Context, cn *Conn, reason er... method RemoveWithoutTurn (line 77) | func (p *SingleConnPool) RemoveWithoutTurn(ctx context.Context, cn *Co... method Close (line 81) | func (p *SingleConnPool) Close() error { method Len (line 87) | func (p *SingleConnPool) Len() int { method IdleLen (line 91) | func (p *SingleConnPool) IdleLen() int { method Size (line 96) | func (p *SingleConnPool) Size() int { return 1 } method Stats (line 98) | func (p *SingleConnPool) Stats() *Stats { method AddPoolHook (line 102) | func (p *SingleConnPool) AddPoolHook(_ PoolHook) {} method RemovePoolHook (line 104) | func (p *SingleConnPool) RemovePoolHook(_ PoolHook) {} function NewSingleConnPool (line 25) | func NewSingleConnPool(pool Pooler, cn *Conn) *SingleConnPool { FILE: internal/pool/pool_sticky.go constant stateDefault (line 11) | stateDefault = 0 constant stateInited (line 12) | stateInited = 1 constant stateClosed (line 13) | stateClosed = 2 type BadConnError (line 16) | type BadConnError struct method Error (line 22) | func (e BadConnError) Error() string { method Unwrap (line 30) | func (e BadConnError) Unwrap() error { type StickyConnPool (line 36) | type StickyConnPool struct method NewConn (line 60) | func (p *StickyConnPool) NewConn(ctx context.Context) (*Conn, error) { method CloseConn (line 64) | func (p *StickyConnPool) CloseConn(ctx context.Context, cn *Conn, reas... method Get (line 68) | func (p *StickyConnPool) Get(ctx context.Context) (*Conn, error) { method Put (line 99) | func (p *StickyConnPool) Put(ctx context.Context, cn *Conn) { method freeConn (line 108) | func (p *StickyConnPool) freeConn(ctx context.Context, cn *Conn) { method Remove (line 116) | func (p *StickyConnPool) Remove(ctx context.Context, cn *Conn, reason ... method RemoveWithoutTurn (line 128) | func (p *StickyConnPool) RemoveWithoutTurn(ctx context.Context, cn *Co... method Close (line 132) | func (p *StickyConnPool) Close() error { method Reset (line 155) | func (p *StickyConnPool) Reset(ctx context.Context) error { method badConnError (line 179) | func (p *StickyConnPool) badConnError() error { method Len (line 188) | func (p *StickyConnPool) Len() int { method IdleLen (line 201) | func (p *StickyConnPool) IdleLen() int { method Size (line 206) | func (p *StickyConnPool) Size() int { return 1 } method Stats (line 208) | func (p *StickyConnPool) Stats() *Stats { method AddPoolHook (line 212) | func (p *StickyConnPool) AddPoolHook(hook PoolHook) {} method RemovePoolHook (line 214) | func (p *StickyConnPool) RemovePoolHook(hook PoolHook) {} function NewStickyConnPool (line 48) | func NewStickyConnPool(pool Pooler) *StickyConnPool { FILE: internal/pool/pool_test.go function TestDialerRetryConfiguration (line 451) | func TestDialerRetryConfiguration(t *testing.T) { function init (line 1453) | func init() { FILE: internal/pool/pubsub.go type PubSubStats (line 10) | type PubSubStats struct type PubSubPool (line 17) | type PubSubPool struct method NewConn (line 36) | func (p *PubSubPool) NewConn(ctx context.Context, network string, addr... method TrackConn (line 53) | func (p *PubSubPool) TrackConn(cn *Conn) { method UntrackConn (line 58) | func (p *PubSubPool) UntrackConn(cn *Conn) { method Close (line 64) | func (p *PubSubPool) Close() error { method Stats (line 74) | func (p *PubSubPool) Stats() *PubSubStats { function NewPubSubPool (line 29) | func NewPubSubPool(opt *Options, netDialer func(ctx context.Context, net... FILE: internal/pool/try_dial_test.go function TestTryDial_AppliesDialTimeoutWhenSet (line 11) | func TestTryDial_AppliesDialTimeoutWhenSet(t *testing.T) { function TestTryDial_DoesNotApplyDialTimeoutWhenDisabled (line 30) | func TestTryDial_DoesNotApplyDialTimeoutWhenDisabled(t *testing.T) { function TestTryDial_RespectsPoolClose (line 56) | func TestTryDial_RespectsPoolClose(t *testing.T) { FILE: internal/pool/want_conn.go type wantConn (line 8) | type wantConn struct method getCtxForDial (line 17) | func (w *wantConn) getCtxForDial() context.Context { method tryDeliver (line 24) | func (w *wantConn) tryDeliver(cn *Conn, err error) bool { method cancel (line 40) | func (w *wantConn) cancel() *Conn { method isOngoing (line 60) | func (w *wantConn) isOngoing() bool { type wantConnResult (line 66) | type wantConnResult struct type wantConnQueue (line 71) | type wantConnQueue struct method enqueue (line 82) | func (q *wantConnQueue) enqueue(w *wantConn) { method dequeue (line 88) | func (q *wantConnQueue) dequeue() (*wantConn, bool) { method discardDoneAtFront (line 101) | func (q *wantConnQueue) discardDoneAtFront() int { function newWantConnQueue (line 76) | func newWantConnQueue() *wantConnQueue { FILE: internal/pool/want_conn_test.go method len (line 11) | func (q *wantConnQueue) len() int { function TestWantConn_getCtxForDial (line 17) | func TestWantConn_getCtxForDial(t *testing.T) { function TestWantConn_tryDeliver_Success (line 41) | func TestWantConn_tryDeliver_Success(t *testing.T) { function TestWantConn_tryDeliver_WithError (line 80) | func TestWantConn_tryDeliver_WithError(t *testing.T) { function TestWantConn_tryDeliver_AlreadyDone (line 108) | func TestWantConn_tryDeliver_AlreadyDone(t *testing.T) { function TestWantConn_cancel_NotDone (line 130) | func TestWantConn_cancel_NotDone(t *testing.T) { function TestWantConn_cancel_AlreadyDone (line 165) | func TestWantConn_cancel_AlreadyDone(t *testing.T) { function TestWantConnQueue_newWantConnQueue (line 195) | func TestWantConnQueue_newWantConnQueue(t *testing.T) { function TestWantConnQueue_enqueue_dequeue (line 208) | func TestWantConnQueue_enqueue_dequeue(t *testing.T) { function TestWantConnQueue_ConcurrentAccess (line 265) | func TestWantConnQueue_ConcurrentAccess(t *testing.T) { function TestWantConnQueue_ThreadSafety (line 326) | func TestWantConnQueue_ThreadSafety(t *testing.T) { function BenchmarkWantConnQueue_Enqueue (line 377) | func BenchmarkWantConnQueue_Enqueue(b *testing.B) { function BenchmarkWantConnQueue_Dequeue (line 398) | func BenchmarkWantConnQueue_Dequeue(b *testing.B) { function BenchmarkWantConnQueue_EnqueueDequeue (line 432) | func BenchmarkWantConnQueue_EnqueueDequeue(b *testing.B) { function TestWantConn_RaceConditionNilContext (line 457) | func TestWantConn_RaceConditionNilContext(t *testing.T) { function TestWantConnQueue_dropFrontDone_EmptyQueue (line 508) | func TestWantConnQueue_dropFrontDone_EmptyQueue(t *testing.T) { function TestWantConnQueue_dropFrontDone_AllDone (line 526) | func TestWantConnQueue_dropFrontDone_AllDone(t *testing.T) { function TestWantConnQueue_dropFrontDone_NoneDone (line 559) | func TestWantConnQueue_dropFrontDone_NoneDone(t *testing.T) { function TestWantConnQueue_dropFrontDone_PartialDone (line 593) | func TestWantConnQueue_dropFrontDone_PartialDone(t *testing.T) { function TestWantConnQueue_dropFrontDone_SingleElement (line 654) | func TestWantConnQueue_dropFrontDone_SingleElement(t *testing.T) { function TestWantConnQueue_dropFrontDone_MultipleCalls (line 691) | func TestWantConnQueue_dropFrontDone_MultipleCalls(t *testing.T) { function TestWantConnQueue_dropFrontDone_ConcurrentWithEnqueue (line 737) | func TestWantConnQueue_dropFrontDone_ConcurrentWithEnqueue(t *testing.T) { function TestWantConnQueue_dropFrontDone_ConcurrentWithDequeue (line 787) | func TestWantConnQueue_dropFrontDone_ConcurrentWithDequeue(t *testing.T) { function TestWantConnQueue_len (line 844) | func TestWantConnQueue_len(t *testing.T) { function TestWantConnQueue_len_Concurrent (line 875) | func TestWantConnQueue_len_Concurrent(t *testing.T) { FILE: internal/proto/peek_push_notification_test.go function TestPeekPushNotificationName (line 12) | func TestPeekPushNotificationName(t *testing.T) { function createValidPushNotification (line 294) | func createValidPushNotification(notificationName, data string) *bytes.B... function createReaderWithPrimedBuffer (line 325) | func createReaderWithPrimedBuffer(buf *bytes.Buffer) *Reader { function createPushNotificationWithArgs (line 333) | func createPushNotificationWithArgs(notificationName string, args ...str... function createSingleElementPushNotification (line 351) | func createSingleElementPushNotification(notificationName string) *bytes... function BenchmarkPeekPushNotificationName (line 359) | func BenchmarkPeekPushNotificationName(b *testing.B) { function TestPeekPushNotificationNameSpecialCases (line 395) | func TestPeekPushNotificationNameSpecialCases(t *testing.T) { function TestPeekPushNotificationNamePerformance (line 493) | func TestPeekPushNotificationNamePerformance(t *testing.T) { function TestPeekPushNotificationNameBehavior (line 529) | func TestPeekPushNotificationNameBehavior(t *testing.T) { FILE: internal/proto/proto_test.go function TestGinkgoSuite (line 10) | func TestGinkgoSuite(t *testing.T) { FILE: internal/proto/reader.go constant DefaultBufferSize (line 16) | DefaultBufferSize = 32 * 1024 constant RespStatus (line 20) | RespStatus = '+' constant RespError (line 21) | RespError = '-' constant RespString (line 22) | RespString = '$' constant RespInt (line 23) | RespInt = ':' constant RespNil (line 24) | RespNil = '_' constant RespFloat (line 25) | RespFloat = ',' constant RespBool (line 26) | RespBool = '#' constant RespBlobError (line 27) | RespBlobError = '!' constant RespVerbatim (line 28) | RespVerbatim = '=' constant RespBigInt (line 29) | RespBigInt = '(' constant RespArray (line 30) | RespArray = '*' constant RespMap (line 31) | RespMap = '%' constant RespSet (line 32) | RespSet = '~' constant RespAttr (line 33) | RespAttr = '|' constant RespPush (line 34) | RespPush = '>' constant Nil (line 44) | Nil = RedisError("redis: nil") type RedisError (line 46) | type RedisError method Error (line 48) | func (e RedisError) Error() string { return string(e) } method RedisError (line 50) | func (RedisError) RedisError() {} function ParseErrorReply (line 52) | func ParseErrorReply(line []byte) error { type Reader (line 59) | type Reader struct method Buffered (line 75) | func (r *Reader) Buffered() int { method Peek (line 79) | func (r *Reader) Peek(n int) ([]byte, error) { method Reset (line 83) | func (r *Reader) Reset(rd io.Reader) { method PeekReplyType (line 89) | func (r *Reader) PeekReplyType() (byte, error) { method PeekPushNotificationName (line 103) | func (r *Reader) PeekPushNotificationName() (string, error) { method ReadLine (line 191) | func (r *Reader) ReadLine() ([]byte, error) { method readLine (line 226) | func (r *Reader) readLine() ([]byte, error) { method ReadReply (line 250) | func (r *Reader) ReadReply() (interface{}, error) { method readFloat (line 281) | func (r *Reader) readFloat(line []byte) (float64, error) { method readBool (line 294) | func (r *Reader) readBool(line []byte) (bool, error) { method readBigInt (line 304) | func (r *Reader) readBigInt(line []byte) (*big.Int, error) { method readStringReply (line 312) | func (r *Reader) readStringReply(line []byte) (string, error) { method readVerb (line 327) | func (r *Reader) readVerb(line []byte) (string, error) { method readSlice (line 338) | func (r *Reader) readSlice(line []byte) ([]interface{}, error) { method readMap (line 363) | func (r *Reader) readMap(line []byte) (map[interface{}]interface{}, er... method ReadInt (line 393) | func (r *Reader) ReadInt() (int64, error) { method ReadUint (line 420) | func (r *Reader) ReadUint() (uint64, error) { method ReadFloat (line 447) | func (r *Reader) ReadFloat() (float64, error) { method ReadString (line 467) | func (r *Reader) ReadString() (string, error) { method ReadBool (line 493) | func (r *Reader) ReadBool() (bool, error) { method ReadSlice (line 501) | func (r *Reader) ReadSlice() ([]interface{}, error) { method ReadFixedArrayLen (line 510) | func (r *Reader) ReadFixedArrayLen(fixedLen int) error { method ReadArrayLen (line 522) | func (r *Reader) ReadArrayLen() (int, error) { method ReadFixedMapLen (line 536) | func (r *Reader) ReadFixedMapLen(fixedLen int) error { method ReadMapLen (line 551) | func (r *Reader) ReadMapLen() (int, error) { method DiscardNext (line 575) | func (r *Reader) DiscardNext() error { method Discard (line 584) | func (r *Reader) Discard(line []byte) (err error) { function NewReader (line 63) | func NewReader(rd io.Reader) *Reader { function NewReaderSize (line 69) | func NewReaderSize(rd io.Reader, size int) *Reader { function replyLen (line 623) | func replyLen(line []byte) (n int, err error) { function IsNilReply (line 644) | func IsNilReply(line []byte) bool { FILE: internal/proto/reader_test.go function BenchmarkReader_ParseReply_Status (line 12) | func BenchmarkReader_ParseReply_Status(b *testing.B) { function BenchmarkReader_ParseReply_Int (line 16) | func BenchmarkReader_ParseReply_Int(b *testing.B) { function BenchmarkReader_ParseReply_Float (line 20) | func BenchmarkReader_ParseReply_Float(b *testing.B) { function BenchmarkReader_ParseReply_Bool (line 24) | func BenchmarkReader_ParseReply_Bool(b *testing.B) { function BenchmarkReader_ParseReply_BigInt (line 28) | func BenchmarkReader_ParseReply_BigInt(b *testing.B) { function BenchmarkReader_ParseReply_Error (line 32) | func BenchmarkReader_ParseReply_Error(b *testing.B) { function BenchmarkReader_ParseReply_Nil (line 36) | func BenchmarkReader_ParseReply_Nil(b *testing.B) { function BenchmarkReader_ParseReply_BlobError (line 40) | func BenchmarkReader_ParseReply_BlobError(b *testing.B) { function BenchmarkReader_ParseReply_String (line 44) | func BenchmarkReader_ParseReply_String(b *testing.B) { function BenchmarkReader_ParseReply_Verb (line 48) | func BenchmarkReader_ParseReply_Verb(b *testing.B) { function BenchmarkReader_ParseReply_Slice (line 52) | func BenchmarkReader_ParseReply_Slice(b *testing.B) { function BenchmarkReader_ParseReply_Set (line 56) | func BenchmarkReader_ParseReply_Set(b *testing.B) { function BenchmarkReader_ParseReply_Push (line 60) | func BenchmarkReader_ParseReply_Push(b *testing.B) { function BenchmarkReader_ParseReply_Map (line 64) | func BenchmarkReader_ParseReply_Map(b *testing.B) { function BenchmarkReader_ParseReply_Attr (line 68) | func BenchmarkReader_ParseReply_Attr(b *testing.B) { function TestReader_ReadLine (line 72) | func TestReader_ReadLine(t *testing.T) { function benchmarkParseReply (line 87) | func benchmarkParseReply(b *testing.B, reply string, wanterr bool) { FILE: internal/proto/redis_errors.go type LoadingError (line 12) | type LoadingError struct method Error (line 16) | func (e *LoadingError) Error() string { method RedisError (line 20) | func (e *LoadingError) RedisError() {} function NewLoadingError (line 23) | func NewLoadingError(msg string) *LoadingError { type ReadOnlyError (line 28) | type ReadOnlyError struct method Error (line 32) | func (e *ReadOnlyError) Error() string { method RedisError (line 36) | func (e *ReadOnlyError) RedisError() {} function NewReadOnlyError (line 39) | func NewReadOnlyError(msg string) *ReadOnlyError { type MovedError (line 44) | type MovedError struct method Error (line 49) | func (e *MovedError) Error() string { method RedisError (line 53) | func (e *MovedError) RedisError() {} method Addr (line 56) | func (e *MovedError) Addr() string { function NewMovedError (line 61) | func NewMovedError(msg string, addr string) *MovedError { type AskError (line 66) | type AskError struct method Error (line 71) | func (e *AskError) Error() string { method RedisError (line 75) | func (e *AskError) RedisError() {} method Addr (line 78) | func (e *AskError) Addr() string { function NewAskError (line 83) | func NewAskError(msg string, addr string) *AskError { type ClusterDownError (line 88) | type ClusterDownError struct method Error (line 92) | func (e *ClusterDownError) Error() string { method RedisError (line 96) | func (e *ClusterDownError) RedisError() {} function NewClusterDownError (line 99) | func NewClusterDownError(msg string) *ClusterDownError { type TryAgainError (line 104) | type TryAgainError struct method Error (line 108) | func (e *TryAgainError) Error() string { method RedisError (line 112) | func (e *TryAgainError) RedisError() {} function NewTryAgainError (line 115) | func NewTryAgainError(msg string) *TryAgainError { type MasterDownError (line 120) | type MasterDownError struct method Error (line 124) | func (e *MasterDownError) Error() string { method RedisError (line 128) | func (e *MasterDownError) RedisError() {} function NewMasterDownError (line 131) | func NewMasterDownError(msg string) *MasterDownError { type MaxClientsError (line 136) | type MaxClientsError struct method Error (line 140) | func (e *MaxClientsError) Error() string { method RedisError (line 144) | func (e *MaxClientsError) RedisError() {} function NewMaxClientsError (line 147) | func NewMaxClientsError(msg string) *MaxClientsError { type AuthError (line 152) | type AuthError struct method Error (line 156) | func (e *AuthError) Error() string { method RedisError (line 160) | func (e *AuthError) RedisError() {} function NewAuthError (line 163) | func NewAuthError(msg string) *AuthError { type PermissionError (line 168) | type PermissionError struct method Error (line 172) | func (e *PermissionError) Error() string { method RedisError (line 176) | func (e *PermissionError) RedisError() {} function NewPermissionError (line 179) | func NewPermissionError(msg string) *PermissionError { type ExecAbortError (line 184) | type ExecAbortError struct method Error (line 188) | func (e *ExecAbortError) Error() string { method RedisError (line 192) | func (e *ExecAbortError) RedisError() {} function NewExecAbortError (line 195) | func NewExecAbortError(msg string) *ExecAbortError { type OOMError (line 200) | type OOMError struct method Error (line 204) | func (e *OOMError) Error() string { method RedisError (line 208) | func (e *OOMError) RedisError() {} function NewOOMError (line 211) | func NewOOMError(msg string) *OOMError { type NoReplicasError (line 219) | type NoReplicasError struct method Error (line 223) | func (e *NoReplicasError) Error() string { method RedisError (line 227) | func (e *NoReplicasError) RedisError() {} function NewNoReplicasError (line 230) | func NewNoReplicasError(msg string) *NoReplicasError { function parseTypedRedisError (line 236) | func parseTypedRedisError(msg string) error { function extractAddr (line 277) | func extractAddr(msg string) string { function IsLoadingError (line 286) | func IsLoadingError(err error) bool { function IsReadOnlyError (line 304) | func IsReadOnlyError(err error) bool { function IsMovedError (line 323) | func IsMovedError(err error) (*MovedError, bool) { function IsAskError (line 345) | func IsAskError(err error) (*AskError, bool) { function IsClusterDownError (line 366) | func IsClusterDownError(err error) bool { function IsTryAgainError (line 384) | func IsTryAgainError(err error) bool { function IsMasterDownError (line 402) | func IsMasterDownError(err error) bool { function IsMaxClientsError (line 420) | func IsMaxClientsError(err error) bool { function IsAuthError (line 438) | func IsAuthError(err error) bool { function IsPermissionError (line 458) | func IsPermissionError(err error) bool { function IsExecAbortError (line 476) | func IsExecAbortError(err error) bool { function IsOOMError (line 494) | func IsOOMError(err error) bool { function IsNoReplicasError (line 512) | func IsNoReplicasError(err error) bool { FILE: internal/proto/redis_errors_test.go function TestTypedRedisErrors (line 10) | func TestTypedRedisErrors(t *testing.T) { function TestWrappedTypedErrors (line 175) | func TestWrappedTypedErrors(t *testing.T) { function TestMovedAndAskErrorAddressExtraction (line 266) | func TestMovedAndAskErrorAddressExtraction(t *testing.T) { function TestGenericRedisError (line 329) | func TestGenericRedisError(t *testing.T) { function TestBackwardCompatibility (line 373) | func TestBackwardCompatibility(t *testing.T) { FILE: internal/proto/scan.go function Scan (line 16) | func Scan(b []byte, v interface{}) error { function ScanSlice (line 129) | func ScanSlice(data []string, slice interface{}) error { function makeSliceNextElemFunc (line 154) | func makeSliceNextElemFunc(v reflect.Value) func() reflect.Value { FILE: internal/proto/scan_test.go type testScanSliceStruct (line 12) | type testScanSliceStruct struct method MarshalBinary (line 17) | func (s *testScanSliceStruct) MarshalBinary() ([]byte, error) { method UnmarshalBinary (line 21) | func (s *testScanSliceStruct) UnmarshalBinary(b []byte) error { FILE: internal/proto/writer.go type writer (line 14) | type writer interface type Writer (line 21) | type Writer struct method WriteArgs (line 37) | func (w *Writer) WriteArgs(args []interface{}) error { method writeLen (line 55) | func (w *Writer) writeLen(n int) error { method WriteArg (line 62) | func (w *Writer) WriteArg(v interface{}) error { method bytes (line 202) | func (w *Writer) bytes(b []byte) error { method string (line 218) | func (w *Writer) string(s string) error { method uint (line 222) | func (w *Writer) uint(n uint64) error { method int (line 227) | func (w *Writer) int(n int64) error { method float (line 232) | func (w *Writer) float(f float64) error { method crlf (line 237) | func (w *Writer) crlf() error { function NewWriter (line 28) | func NewWriter(wr writer) *Writer { FILE: internal/proto/writer_test.go type MyType (line 18) | type MyType struct method MarshalBinary (line 22) | func (t *MyType) MarshalBinary() ([]byte, error) { type discard (line 79) | type discard struct method Write (line 81) | func (discard) Write(b []byte) (int, error) { method WriteString (line 85) | func (discard) WriteString(s string) (int, error) { method WriteByte (line 89) | func (discard) WriteByte(c byte) error { function BenchmarkWriteBuffer_Append (line 93) | func BenchmarkWriteBuffer_Append(b *testing.B) { FILE: internal/rand/rand.go function Int (line 9) | func Int() int { return pseudo.Int() } function Intn (line 13) | func Intn(n int) int { return pseudo.Intn(n) } function Int63n (line 17) | func Int63n(n int64) int64 { return pseudo.Int63n(n) } function Perm (line 20) | func Perm(n int) []int { return pseudo.Perm(n) } function Seed (line 25) | func Seed(n int64) { pseudo.Seed(n) } type source (line 29) | type source struct method Int63 (line 34) | func (s *source) Int63() int64 { method Seed (line 41) | func (s *source) Seed(seed int64) { function Shuffle (line 50) | func Shuffle(n int, swap func(i, j int)) { pseudo.Shuffle(n, swap) } FILE: internal/redis.go constant RedisNull (line 3) | RedisNull = "" FILE: internal/routing/aggregator.go type ResponseAggregator (line 23) | type ResponseAggregator interface type AggregatorResErr (line 38) | type AggregatorResErr struct function NewResponseAggregator (line 44) | func NewResponseAggregator(policy ResponsePolicy, cmdName string) Respon... function NewDefaultAggregator (line 80) | func NewDefaultAggregator(isKeyed bool) ResponseAggregator { type AllSucceededAggregator (line 91) | type AllSucceededAggregator struct method Add (line 96) | func (a *AllSucceededAggregator) Add(result interface{}, err error) er... method BatchAdd (line 109) | func (a *AllSucceededAggregator) BatchAdd(results map[string]Aggregato... method BatchSlice (line 124) | func (a *AllSucceededAggregator) BatchSlice(results []AggregatorResErr... method Result (line 139) | func (a *AllSucceededAggregator) Result() (interface{}, error) { method AddWithKey (line 149) | func (a *AllSucceededAggregator) AddWithKey(key string, result interfa... type OneSucceededAggregator (line 155) | type OneSucceededAggregator struct method Add (line 160) | func (a *OneSucceededAggregator) Add(result interface{}, err error) er... method BatchAdd (line 173) | func (a *OneSucceededAggregator) BatchAdd(results map[string]Aggregato... method AddWithKey (line 188) | func (a *OneSucceededAggregator) AddWithKey(key string, result interfa... method BatchSlice (line 192) | func (a *OneSucceededAggregator) BatchSlice(results []AggregatorResErr... method Result (line 207) | func (a *OneSucceededAggregator) Result() (interface{}, error) { type AggSumAggregator (line 217) | type AggSumAggregator struct method Add (line 222) | func (a *AggSumAggregator) Add(result interface{}, err error) error { method BatchAdd (line 239) | func (a *AggSumAggregator) BatchAdd(results map[string]AggregatorResEr... method AddWithKey (line 258) | func (a *AggSumAggregator) AddWithKey(key string, result interface{}, ... method BatchSlice (line 262) | func (a *AggSumAggregator) BatchSlice(results []AggregatorResErr) error { method Result (line 281) | func (a *AggSumAggregator) Result() (interface{}, error) { type AggMinAggregator (line 291) | type AggMinAggregator struct method Add (line 296) | func (a *AggMinAggregator) Add(result interface{}, err error) error { method BatchAdd (line 313) | func (a *AggMinAggregator) BatchAdd(results map[string]AggregatorResEr... method AddWithKey (line 337) | func (a *AggMinAggregator) AddWithKey(key string, result interface{}, ... method BatchSlice (line 341) | func (a *AggMinAggregator) BatchSlice(results []AggregatorResErr) error { method Result (line 365) | func (a *AggMinAggregator) Result() (interface{}, error) { type AggMaxAggregator (line 379) | type AggMaxAggregator struct method Add (line 384) | func (a *AggMaxAggregator) Add(result interface{}, err error) error { method BatchAdd (line 401) | func (a *AggMaxAggregator) BatchAdd(results map[string]AggregatorResEr... method AddWithKey (line 425) | func (a *AggMaxAggregator) AddWithKey(key string, result interface{}, ... method BatchSlice (line 429) | func (a *AggMaxAggregator) BatchSlice(results []AggregatorResErr) error { method Result (line 453) | func (a *AggMaxAggregator) Result() (interface{}, error) { type AggLogicalAndAggregator (line 467) | type AggLogicalAndAggregator struct method Add (line 473) | func (a *AggLogicalAndAggregator) Add(result interface{}, err error) e... method BatchAdd (line 495) | func (a *AggLogicalAndAggregator) BatchAdd(results map[string]Aggregat... method AddWithKey (line 514) | func (a *AggLogicalAndAggregator) AddWithKey(key string, result interf... method BatchSlice (line 518) | func (a *AggLogicalAndAggregator) BatchSlice(results []AggregatorResEr... method Result (line 537) | func (a *AggLogicalAndAggregator) Result() (interface{}, error) { type AggLogicalOrAggregator (line 550) | type AggLogicalOrAggregator struct method Add (line 556) | func (a *AggLogicalOrAggregator) Add(result interface{}, err error) er... method BatchAdd (line 578) | func (a *AggLogicalOrAggregator) BatchAdd(results map[string]Aggregato... method AddWithKey (line 597) | func (a *AggLogicalOrAggregator) AddWithKey(key string, result interfa... method BatchSlice (line 601) | func (a *AggLogicalOrAggregator) BatchSlice(results []AggregatorResErr... method Result (line 620) | func (a *AggLogicalOrAggregator) Result() (interface{}, error) { function toInt64 (line 632) | func toInt64(val interface{}) (int64, error) { function toFloat64 (line 653) | func toFloat64(val interface{}) (float64, error) { function toBool (line 674) | func toBool(val interface{}) (bool, error) { type DefaultKeylessAggregator (line 691) | type DefaultKeylessAggregator struct method add (line 697) | func (a *DefaultKeylessAggregator) add(result interface{}, err error) ... method Add (line 708) | func (a *DefaultKeylessAggregator) Add(result interface{}, err error) ... method BatchAdd (line 715) | func (a *DefaultKeylessAggregator) BatchAdd(results map[string]Aggrega... method AddWithKey (line 733) | func (a *DefaultKeylessAggregator) AddWithKey(key string, result inter... method BatchSlice (line 737) | func (a *DefaultKeylessAggregator) BatchSlice(results []AggregatorResE... method Result (line 755) | func (a *DefaultKeylessAggregator) Result() (interface{}, error) { type DefaultKeyedAggregator (line 766) | type DefaultKeyedAggregator struct method add (line 780) | func (a *DefaultKeyedAggregator) add(result interface{}, err error) er... method Add (line 792) | func (a *DefaultKeyedAggregator) Add(result interface{}, err error) er... method BatchAdd (line 799) | func (a *DefaultKeyedAggregator) BatchAdd(results map[string]Aggregato... method addWithKey (line 817) | func (a *DefaultKeyedAggregator) addWithKey(key string, result interfa... method AddWithKey (line 828) | func (a *DefaultKeyedAggregator) AddWithKey(key string, result interfa... method BatchAddWithKeyOrder (line 835) | func (a *DefaultKeyedAggregator) BatchAddWithKeyOrder(results map[stri... method SetKeyOrder (line 854) | func (a *DefaultKeyedAggregator) SetKeyOrder(keyOrder []string) { method BatchSlice (line 860) | func (a *DefaultKeyedAggregator) BatchSlice(results []AggregatorResErr... method Result (line 878) | func (a *DefaultKeyedAggregator) Result() (interface{}, error) { function NewDefaultKeyedAggregator (line 773) | func NewDefaultKeyedAggregator(keyOrder []string) *DefaultKeyedAggregator { type SpecialAggregator (line 906) | type SpecialAggregator struct method add (line 913) | func (a *SpecialAggregator) add(result interface{}, err error) error { method Add (line 919) | func (a *SpecialAggregator) Add(result interface{}, err error) error { method BatchAdd (line 926) | func (a *SpecialAggregator) BatchAdd(results map[string]AggregatorResE... method AddWithKey (line 944) | func (a *SpecialAggregator) AddWithKey(key string, result interface{},... method BatchSlice (line 948) | func (a *SpecialAggregator) BatchSlice(results []AggregatorResErr) err... method Result (line 966) | func (a *SpecialAggregator) Result() (interface{}, error) { function RegisterSpecialAggregator (line 989) | func RegisterSpecialAggregator(cmdName string, fn func([]interface{}, []... function NewSpecialAggregator (line 994) | func NewSpecialAggregator(cmdName string) *SpecialAggregator { FILE: internal/routing/aggregator_test.go function TestAggLogicalAndAggregator (line 8) | func TestAggLogicalAndAggregator(t *testing.T) { function TestAggLogicalOrAggregator (line 90) | func TestAggLogicalOrAggregator(t *testing.T) { function TestAggLogicalAndBatchAdd (line 172) | func TestAggLogicalAndBatchAdd(t *testing.T) { function TestAggLogicalOrBatchAdd (line 222) | func TestAggLogicalOrBatchAdd(t *testing.T) { FILE: internal/routing/policy.go type RequestPolicy (line 8) | type RequestPolicy method String (line 26) | func (p RequestPolicy) String() string { constant ReqDefault (line 11) | ReqDefault RequestPolicy = iota constant ReqAllNodes (line 13) | ReqAllNodes constant ReqAllShards (line 15) | ReqAllShards constant ReqMultiShard (line 17) | ReqMultiShard constant ReqSpecial (line 19) | ReqSpecial constant ReadOnlyCMD (line 23) | ReadOnlyCMD string = "readonly" function ParseRequestPolicy (line 43) | func ParseRequestPolicy(raw string) (RequestPolicy, error) { type ResponsePolicy (line 60) | type ResponsePolicy method String (line 75) | func (p ResponsePolicy) String() string { constant RespDefaultKeyless (line 63) | RespDefaultKeyless ResponsePolicy = iota constant RespDefaultHashSlot (line 64) | RespDefaultHashSlot constant RespAllSucceeded (line 65) | RespAllSucceeded constant RespOneSucceeded (line 66) | RespOneSucceeded constant RespAggSum (line 67) | RespAggSum constant RespAggMin (line 68) | RespAggMin constant RespAggMax (line 69) | RespAggMax constant RespAggLogicalAnd (line 70) | RespAggLogicalAnd constant RespAggLogicalOr (line 71) | RespAggLogicalOr constant RespSpecial (line 72) | RespSpecial function ParseResponsePolicy (line 102) | func ParseResponsePolicy(raw string) (ResponsePolicy, error) { type CommandPolicy (line 129) | type CommandPolicy struct method CanBeUsedInPipeline (line 137) | func (p *CommandPolicy) CanBeUsedInPipeline() bool { method IsReadOnly (line 141) | func (p *CommandPolicy) IsReadOnly() bool { FILE: internal/routing/shard_picker.go type ShardPicker (line 10) | type ShardPicker interface type StaticShardPicker (line 15) | type StaticShardPicker struct method Next (line 23) | func (p *StaticShardPicker) Next(total int) int { function NewStaticShardPicker (line 19) | func NewStaticShardPicker(index int) *StaticShardPicker { type RoundRobinPicker (line 34) | type RoundRobinPicker struct method Next (line 38) | func (p *RoundRobinPicker) Next(total int) int { type RandomPicker (line 50) | type RandomPicker struct method Next (line 52) | func (RandomPicker) Next(total int) int { FILE: internal/semaphore.go type FastSemaphore (line 24) | type FastSemaphore struct method TryAcquire (line 44) | func (s *FastSemaphore) TryAcquire() bool { method Acquire (line 56) | func (s *FastSemaphore) Acquire(ctx context.Context, timeout time.Dura... method AcquireBlocking (line 93) | func (s *FastSemaphore) AcquireBlocking() { method Release (line 98) | func (s *FastSemaphore) Release() { method Close (line 104) | func (s *FastSemaphore) Close() { method Len (line 109) | func (s *FastSemaphore) Len() int32 { function NewFastSemaphore (line 30) | func NewFastSemaphore(capacity int32) *FastSemaphore { type FIFOSemaphore (line 120) | type FIFOSemaphore struct method TryAcquire (line 140) | func (s *FIFOSemaphore) TryAcquire() bool { method Acquire (line 152) | func (s *FIFOSemaphore) Acquire(ctx context.Context, timeout time.Dura... method AcquireBlocking (line 175) | func (s *FIFOSemaphore) AcquireBlocking() { method Release (line 180) | func (s *FIFOSemaphore) Release() { method Close (line 186) | func (s *FIFOSemaphore) Close() { method Len (line 191) | func (s *FIFOSemaphore) Len() int32 { function NewFIFOSemaphore (line 126) | func NewFIFOSemaphore(capacity int32) *FIFOSemaphore { FILE: internal/util.go function Sleep (line 13) | func Sleep(ctx context.Context, dur time.Duration) error { function ToLower (line 25) | func ToLower(s string) string { function isLower (line 41) | func isLower(s string) bool { function ReplaceSpaces (line 51) | func ReplaceSpaces(s string) string { function GetAddr (line 55) | func GetAddr(addr string) string { function ToInteger (line 71) | func ToInteger(val interface{}) int { function ToFloat (line 85) | func ToFloat(val interface{}) float64 { function ToString (line 97) | func ToString(val interface{}) string { function ToStringSlice (line 104) | func ToStringSlice(val interface{}) []string { FILE: internal/util/atomic_max.go type AtomicMax (line 23) | type AtomicMax struct method Value (line 48) | func (m *AtomicMax) Value(value float64) (isNewMax bool) { method Max (line 86) | func (m *AtomicMax) Max() (value float64, hasValue bool) { method Max1 (line 97) | func (m *AtomicMax) Max1() (value float64) { return m.value.Load() } function NewAtomicMax (line 34) | func NewAtomicMax() (atomicMax *AtomicMax) { FILE: internal/util/atomic_min.go type AtomicMin (line 22) | type AtomicMin struct method Value (line 47) | func (m *AtomicMin) Value(value float64) (isNewMin bool) { method Min (line 85) | func (m *AtomicMin) Min() (value float64, hasValue bool) { method Min1 (line 96) | func (m *AtomicMin) Min1() (value float64) { return m.value.Load() } function NewAtomicMin (line 33) | func NewAtomicMin() (atomicMin *AtomicMin) { FILE: internal/util/convert.go function ParseStringToFloat (line 11) | func ParseStringToFloat(s string) (float64, error) { function MustParseFloat (line 24) | func MustParseFloat(s string) float64 { function SafeIntToInt32 (line 33) | func SafeIntToInt32(value int, fieldName string) (int32, error) { FILE: internal/util/convert_test.go function TestParseStringToFloat (line 8) | func TestParseStringToFloat(t *testing.T) { FILE: internal/util/safe.go function BytesToString (line 5) | func BytesToString(b []byte) string { function StringToBytes (line 9) | func StringToBytes(s string) []byte { FILE: internal/util/strconv.go function Atoi (line 5) | func Atoi(b []byte) (int, error) { function ParseInt (line 9) | func ParseInt(b []byte, base int, bitSize int) (int64, error) { function ParseUint (line 13) | func ParseUint(b []byte, base int, bitSize int) (uint64, error) { function ParseFloat (line 17) | func ParseFloat(b []byte, bitSize int) (float64, error) { FILE: internal/util/strconv_test.go function TestAtoi (line 8) | func TestAtoi(t *testing.T) { function TestParseInt (line 30) | func TestParseInt(t *testing.T) { function TestParseUint (line 55) | func TestParseUint(t *testing.T) { function TestParseFloat (line 79) | func TestParseFloat(t *testing.T) { FILE: internal/util/type.go function ToPtr (line 3) | func ToPtr[T any](v T) *T { FILE: internal/util/unsafe.go function BytesToString (line 10) | func BytesToString(b []byte) string { function StringToBytes (line 15) | func StringToBytes(s string) []byte { FILE: internal/util/unsafe_test.go function TestBytesToString (line 15) | func TestBytesToString(t *testing.T) { function TestStringToBytes (line 49) | func TestStringToBytes(t *testing.T) { function TestBytesToStringGC (line 73) | func TestBytesToStringGC(t *testing.T) { function TestStringToBytesGC (line 97) | func TestStringToBytesGC(t *testing.T) { function BenchmarkStringToBytes (line 120) | func BenchmarkStringToBytes(b *testing.B) { function BenchmarkBytesToString (line 140) | func BenchmarkBytesToString(b *testing.B) { FILE: internal/util_test.go function BenchmarkToLowerStd (line 12) | func BenchmarkToLowerStd(b *testing.B) { function BenchmarkToLowerInternal (line 20) | func BenchmarkToLowerInternal(b *testing.B) { function TestToLower (line 27) | func TestToLower(t *testing.T) { function TestIsLower (line 43) | func TestIsLower(t *testing.T) { function TestGetAddr (line 56) | func TestGetAddr(t *testing.T) { function BenchmarkReplaceSpaces (line 77) | func BenchmarkReplaceSpaces(b *testing.B) { function ReplaceSpacesUseBuilder (line 84) | func ReplaceSpacesUseBuilder(s string) string { function BenchmarkReplaceSpacesUseBuilder (line 103) | func BenchmarkReplaceSpacesUseBuilder(b *testing.B) { FILE: internal_maint_notif_test.go function TestInitConnNilMaintNotificationsConfig (line 21) | func TestInitConnNilMaintNotificationsConfig(t *testing.T) { FILE: internal_test.go function TestNodeAddress (line 185) | func TestNodeAddress(t *testing.T) { type fixedHash (line 347) | type fixedHash method Get (line 349) | func (h fixedHash) Get(string) string { function TestRingSetAddrsAndRebalanceRace (line 353) | func TestRingSetAddrsAndRebalanceRace(t *testing.T) { function BenchmarkRingShardingRebalanceLocked (line 419) | func BenchmarkRingShardingRebalanceLocked(b *testing.B) { type testCounter (line 438) | type testCounter struct method increment (line 448) | func (ct *testCounter) increment(key string) { method expect (line 454) | func (ct *testCounter) expect(values map[string]int) { function newTestCounter (line 444) | func newTestCounter(t *testing.T) *testCounter { function TestRingShardsCleanup (line 463) | func TestRingShardsCleanup(t *testing.T) { type timeoutErr (line 553) | type timeoutErr struct method Timeout (line 557) | func (e timeoutErr) Timeout() bool { method Temporary (line 561) | func (e timeoutErr) Temporary() bool { method Error (line 565) | func (e timeoutErr) Error() string { FILE: iterator.go type ScanIterator (line 8) | type ScanIterator struct method Err (line 14) | func (it *ScanIterator) Err() error { method Next (line 19) | func (it *ScanIterator) Next(ctx context.Context) bool { method Val (line 60) | func (it *ScanIterator) Val() string { FILE: json.go type JSONCmdable (line 14) | type JSONCmdable interface type JSONSetArgs (line 44) | type JSONSetArgs struct type JSONArrIndexArgs (line 50) | type JSONArrIndexArgs struct type JSONArrTrimArgs (line 55) | type JSONArrTrimArgs struct type JSONCmd (line 60) | type JSONCmd struct method String (line 78) | func (cmd *JSONCmd) String() string { method SetVal (line 82) | func (cmd *JSONCmd) SetVal(val string) { method Val (line 87) | func (cmd *JSONCmd) Val() string { method Result (line 101) | func (cmd *JSONCmd) Result() (string, error) { method Expanded (line 106) | func (cmd *JSONCmd) Expanded() (interface{}, error) { method readReply (line 117) | func (cmd *JSONCmd) readReply(rd *proto.Reader) error { method Clone (line 169) | func (cmd *JSONCmd) Clone() Cmder { function newJSONCmd (line 68) | func newJSONCmd(ctx context.Context, args ...interface{}) *JSONCmd { type JSONSliceCmd (line 179) | type JSONSliceCmd struct method String (line 194) | func (cmd *JSONSliceCmd) String() string { method SetVal (line 198) | func (cmd *JSONSliceCmd) SetVal(val []interface{}) { method Val (line 202) | func (cmd *JSONSliceCmd) Val() []interface{} { method Result (line 206) | func (cmd *JSONSliceCmd) Result() ([]interface{}, error) { method readReply (line 210) | func (cmd *JSONSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 246) | func (cmd *JSONSliceCmd) Clone() Cmder { function NewJSONSliceCmd (line 184) | func NewJSONSliceCmd(ctx context.Context, args ...interface{}) *JSONSlic... type IntPointerSliceCmd (line 265) | type IntPointerSliceCmd struct method String (line 281) | func (cmd *IntPointerSliceCmd) String() string { method SetVal (line 285) | func (cmd *IntPointerSliceCmd) SetVal(val []*int64) { method Val (line 289) | func (cmd *IntPointerSliceCmd) Val() []*int64 { method Result (line 293) | func (cmd *IntPointerSliceCmd) Result() ([]*int64, error) { method readReply (line 297) | func (cmd *IntPointerSliceCmd) readReply(rd *proto.Reader) error { method Clone (line 316) | func (cmd *IntPointerSliceCmd) Clone() Cmder { function NewIntPointerSliceCmd (line 271) | func NewIntPointerSliceCmd(ctx context.Context, args ...interface{}) *In... method JSONArrAppend (line 332) | func (c cmdable) JSONArrAppend(ctx context.Context, key, path string, va... method JSONArrIndex (line 342) | func (c cmdable) JSONArrIndex(ctx context.Context, key, path string, val... method JSONArrIndexWithArgs (line 353) | func (c cmdable) JSONArrIndexWithArgs(ctx context.Context, key, path str... method JSONArrInsert (line 370) | func (c cmdable) JSONArrInsert(ctx context.Context, key, path string, in... method JSONArrLen (line 380) | func (c cmdable) JSONArrLen(ctx context.Context, key, path string) *IntS... method JSONArrPop (line 389) | func (c cmdable) JSONArrPop(ctx context.Context, key, path string, index... method JSONArrTrim (line 398) | func (c cmdable) JSONArrTrim(ctx context.Context, key, path string) *Int... method JSONArrTrimWithArgs (line 407) | func (c cmdable) JSONArrTrimWithArgs(ctx context.Context, key, path stri... method JSONClear (line 424) | func (c cmdable) JSONClear(ctx context.Context, key, path string) *IntCmd { method JSONDebugMemory (line 433) | func (c cmdable) JSONDebugMemory(ctx context.Context, key, path string) ... method JSONDel (line 439) | func (c cmdable) JSONDel(ctx context.Context, key, path string) *IntCmd { method JSONForget (line 448) | func (c cmdable) JSONForget(ctx context.Context, key, path string) *IntC... method JSONGet (line 459) | func (c cmdable) JSONGet(ctx context.Context, key string, paths ...strin... type JSONGetArgs (line 471) | type JSONGetArgs struct method JSONGetWithArgs (line 481) | func (c cmdable) JSONGetWithArgs(ctx context.Context, key string, option... method JSONMerge (line 504) | func (c cmdable) JSONMerge(ctx context.Context, key, path string, value ... method JSONMGet (line 515) | func (c cmdable) JSONMGet(ctx context.Context, path string, keys ...stri... method JSONMSetArgs (line 529) | func (c cmdable) JSONMSetArgs(ctx context.Context, docs []JSONSetArgs) *... method JSONMSet (line 539) | func (c cmdable) JSONMSet(ctx context.Context, params ...interface{}) *S... method JSONNumIncrBy (line 549) | func (c cmdable) JSONNumIncrBy(ctx context.Context, key, path string, va... method JSONObjKeys (line 558) | func (c cmdable) JSONObjKeys(ctx context.Context, key, path string) *Sli... method JSONObjLen (line 567) | func (c cmdable) JSONObjLen(ctx context.Context, key, path string) *IntP... method JSONSet (line 578) | func (c cmdable) JSONSet(ctx context.Context, key, path string, value in... method JSONSetMode (line 586) | func (c cmdable) JSONSetMode(ctx context.Context, key, path string, valu... method JSONStrAppend (line 618) | func (c cmdable) JSONStrAppend(ctx context.Context, key, path, value str... method JSONStrLen (line 627) | func (c cmdable) JSONStrLen(ctx context.Context, key, path string) *IntP... method JSONToggle (line 636) | func (c cmdable) JSONToggle(ctx context.Context, key, path string) *IntP... method JSONType (line 645) | func (c cmdable) JSONType(ctx context.Context, key, path string) *JSONSl... FILE: json_test.go type JSONGetTestStruct (line 14) | type JSONGetTestStruct struct function jsonMustMarshal (line 875) | func jsonMustMarshal(v interface{}) string { FILE: list_commands.go type ListCmdable (line 9) | type ListCmdable interface method BLPop (line 39) | func (c cmdable) BLPop(ctx context.Context, timeout time.Duration, keys ... method BLMPop (line 52) | func (c cmdable) BLMPop(ctx context.Context, timeout time.Duration, dire... method BRPop (line 67) | func (c cmdable) BRPop(ctx context.Context, timeout time.Duration, keys ... method BRPopLPush (line 84) | func (c cmdable) BRPopLPush(ctx context.Context, source, destination str... method LIndex (line 97) | func (c cmdable) LIndex(ctx context.Context, key string, index int64) *S... method LMPop (line 106) | func (c cmdable) LMPop(ctx context.Context, direction string, count int6... method LInsert (line 119) | func (c cmdable) LInsert(ctx context.Context, key, op string, pivot, val... method LInsertBefore (line 125) | func (c cmdable) LInsertBefore(ctx context.Context, key string, pivot, v... method LInsertAfter (line 131) | func (c cmdable) LInsertAfter(ctx context.Context, key string, pivot, va... method LLen (line 137) | func (c cmdable) LLen(ctx context.Context, key string) *IntCmd { method LPop (line 143) | func (c cmdable) LPop(ctx context.Context, key string) *StringCmd { method LPopCount (line 149) | func (c cmdable) LPopCount(ctx context.Context, key string, count int) *... type LPosArgs (line 155) | type LPosArgs struct method LPos (line 159) | func (c cmdable) LPos(ctx context.Context, key string, value string, a L... method LPosCount (line 173) | func (c cmdable) LPosCount(ctx context.Context, key string, value string... method LPush (line 186) | func (c cmdable) LPush(ctx context.Context, key string, values ...interf... method LPushX (line 196) | func (c cmdable) LPushX(ctx context.Context, key string, values ...inter... method LRange (line 206) | func (c cmdable) LRange(ctx context.Context, key string, start, stop int... method LRem (line 218) | func (c cmdable) LRem(ctx context.Context, key string, count int64, valu... method LSet (line 224) | func (c cmdable) LSet(ctx context.Context, key string, index int64, valu... method LTrim (line 230) | func (c cmdable) LTrim(ctx context.Context, key string, start, stop int6... method RPop (line 242) | func (c cmdable) RPop(ctx context.Context, key string) *StringCmd { method RPopCount (line 248) | func (c cmdable) RPopCount(ctx context.Context, key string, count int) *... method RPopLPush (line 258) | func (c cmdable) RPopLPush(ctx context.Context, source, destination stri... method RPush (line 264) | func (c cmdable) RPush(ctx context.Context, key string, values ...interf... method RPushX (line 274) | func (c cmdable) RPushX(ctx context.Context, key string, values ...inter... method LMove (line 284) | func (c cmdable) LMove(ctx context.Context, source, destination, srcpos,... method BLMove (line 290) | func (c cmdable) BLMove( FILE: logging/logging.go constant LogLevelError (line 16) | LogLevelError = internal.LogLevelError constant LogLevelWarn (line 17) | LogLevelWarn = internal.LogLevelWarn constant LogLevelInfo (line 18) | LogLevelInfo = internal.LogLevelInfo constant LogLevelDebug (line 19) | LogLevelDebug = internal.LogLevelDebug type VoidLogger (line 24) | type VoidLogger struct method Printf (line 26) | func (v *VoidLogger) Printf(_ context.Context, _ string, _ ...interfac... function Disable (line 33) | func Disable() { function Enable (line 43) | func Enable() { function SetLogLevel (line 48) | func SetLogLevel(logLevel LogLevelT) { function NewBlacklistLogger (line 54) | func NewBlacklistLogger(substr []string) internal.Logging { function NewWhitelistLogger (line 61) | func NewWhitelistLogger(substr []string) internal.Logging { type filterLogger (line 66) | type filterLogger struct method Printf (line 72) | func (l *filterLogger) Printf(ctx context.Context, format string, v ..... FILE: logging/logging_test.go function TestLogLevel_String (line 5) | func TestLogLevel_String(t *testing.T) { function TestLogLevel_IsValid (line 24) | func TestLogLevel_IsValid(t *testing.T) { function TestLogLevelConstants (line 45) | func TestLogLevelConstants(t *testing.T) { FILE: main_test.go constant redisSecondaryPort (line 24) | redisSecondaryPort = "6381" constant ringShard1Port (line 28) | ringShard1Port = "6390" constant ringShard2Port (line 29) | ringShard2Port = "6391" constant ringShard3Port (line 30) | ringShard3Port = "6392" constant sentinelName (line 34) | sentinelName = "go-redis-test" constant sentinelMasterPort (line 35) | sentinelMasterPort = "9121" constant sentinelSlave1Port (line 36) | sentinelSlave1Port = "9122" constant sentinelSlave2Port (line 37) | sentinelSlave2Port = "9123" constant sentinelPort1 (line 38) | sentinelPort1 = "26379" constant sentinelPort2 (line 39) | sentinelPort2 = "26380" constant sentinelPort3 (line 40) | sentinelPort3 = "26381" function SkipBeforeRedisVersion (line 84) | func SkipBeforeRedisVersion(version float64, msg string) { function SkipAfterRedisVersion (line 90) | func SkipAfterRedisVersion(version float64, msg string) { function TestGinkgoSuite (line 173) | func TestGinkgoSuite(t *testing.T) { function redisOptions (line 180) | func redisOptions() *redis.Options { function redisClusterOptions (line 215) | func redisClusterOptions() *redis.ClusterOptions { function redisRingOptions (line 229) | func redisRingOptions() *redis.RingOptions { function performAsync (line 248) | func performAsync(n int, cbs ...func(int)) *sync.WaitGroup { function perform (line 266) | func perform(n int, cbs ...func(int)) { function eventually (line 271) | func eventually(fn func() error, timeout time.Duration) error { function connectTo (line 311) | func connectTo(port string) (*redis.Client, error) { function startSentinel (line 327) | func startSentinel(port, masterName, masterPort string) (*redis.Client, ... type badConnError (line 347) | type badConnError method Error (line 349) | func (e badConnError) Error() string { return string(e) } method Timeout (line 350) | func (e badConnError) Timeout() bool { return true } method Temporary (line 351) | func (e badConnError) Temporary() bool { return false } type badConn (line 353) | type badConn struct method SetReadDeadline (line 362) | func (cn *badConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 366) | func (cn *badConn) SetWriteDeadline(t time.Time) error { method Read (line 370) | func (cn *badConn) Read([]byte) (int, error) { method Write (line 380) | func (cn *badConn) Write([]byte) (int, error) { type hook (line 392) | type hook struct method DialHook (line 398) | func (h *hook) DialHook(hook redis.DialHook) redis.DialHook { method ProcessHook (line 405) | func (h *hook) ProcessHook(hook redis.ProcessHook) redis.ProcessHook { method ProcessPipelineHook (line 412) | func (h *hook) ProcessPipelineHook(hook redis.ProcessPipelineHook) red... function loadClusterTLSConfig (line 420) | func loadClusterTLSConfig(certDir string) (*tls.Config, error) { function initializeTLSCluster (line 453) | func initializeTLSCluster(ctx context.Context) error { function cleanupTLSCluster (line 490) | func cleanupTLSCluster() { FILE: maintnotifications/circuit_breaker.go type CircuitBreakerState (line 14) | type CircuitBreakerState method String (line 25) | func (s CircuitBreakerState) String() string { constant CircuitBreakerClosed (line 18) | CircuitBreakerClosed CircuitBreakerState = iota constant CircuitBreakerOpen (line 20) | CircuitBreakerOpen constant CircuitBreakerHalfOpen (line 22) | CircuitBreakerHalfOpen type CircuitBreaker (line 39) | type CircuitBreaker struct method IsOpen (line 82) | func (cb *CircuitBreaker) IsOpen() bool { method shouldAttemptReset (line 88) | func (cb *CircuitBreaker) shouldAttemptReset() bool { method Execute (line 94) | func (cb *CircuitBreaker) Execute(fn func() error) error { method recordFailure (line 137) | func (cb *CircuitBreaker) recordFailure() { method recordSuccess (line 163) | func (cb *CircuitBreaker) recordSuccess() { method GetState (line 188) | func (cb *CircuitBreaker) GetState() CircuitBreakerState { method GetStats (line 193) | func (cb *CircuitBreaker) GetStats() CircuitBreakerStats { function newCircuitBreaker (line 59) | func newCircuitBreaker(endpoint string, config *Config) *CircuitBreaker { type CircuitBreakerStats (line 206) | type CircuitBreakerStats struct type CircuitBreakerEntry (line 217) | type CircuitBreakerEntry struct type CircuitBreakerManager (line 224) | type CircuitBreakerManager struct method GetCircuitBreaker (line 247) | func (cbm *CircuitBreakerManager) GetCircuitBreaker(endpoint string) *... method GetAllStats (line 269) | func (cbm *CircuitBreakerManager) GetAllStats() []CircuitBreakerStats { method cleanupLoop (line 280) | func (cbm *CircuitBreakerManager) cleanupLoop() { method cleanup (line 295) | func (cbm *CircuitBreakerManager) cleanup() { method Shutdown (line 336) | func (cbm *CircuitBreakerManager) Shutdown() { method Reset (line 341) | func (cbm *CircuitBreakerManager) Reset() { function newCircuitBreakerManager (line 233) | func newCircuitBreakerManager(config *Config) *CircuitBreakerManager { FILE: maintnotifications/circuit_breaker_test.go function TestCircuitBreaker (line 9) | func TestCircuitBreaker(t *testing.T) { function TestCircuitBreakerManager (line 228) | func TestCircuitBreakerManager(t *testing.T) { FILE: maintnotifications/config.go type Mode (line 15) | type Mode method IsValid (line 25) | func (m Mode) IsValid() bool { method String (line 35) | func (m Mode) String() string { constant ModeDisabled (line 19) | ModeDisabled Mode = "disabled" constant ModeEnabled (line 20) | ModeEnabled Mode = "enabled" constant ModeAuto (line 21) | ModeAuto Mode = "auto" type EndpointType (line 40) | type EndpointType method IsValid (line 53) | func (e EndpointType) IsValid() bool { method String (line 64) | func (e EndpointType) String() string { constant EndpointTypeAuto (line 44) | EndpointTypeAuto EndpointType = "auto" constant EndpointTypeInternalIP (line 45) | EndpointTypeInternalIP EndpointType = "internal-ip" constant EndpointTypeInternalFQDN (line 46) | EndpointTypeInternalFQDN EndpointType = "internal-fqdn" constant EndpointTypeExternalIP (line 47) | EndpointTypeExternalIP EndpointType = "external-ip" constant EndpointTypeExternalFQDN (line 48) | EndpointTypeExternalFQDN EndpointType = "external-fqdn" constant EndpointTypeNone (line 49) | EndpointTypeNone EndpointType = "none" type Config (line 69) | type Config struct method IsEnabled (line 132) | func (c *Config) IsEnabled() bool { method Validate (line 158) | func (c *Config) Validate() error { method ApplyDefaults (line 209) | func (c *Config) ApplyDefaults() *Config { method ApplyDefaultsWithPoolSize (line 216) | func (c *Config) ApplyDefaultsWithPoolSize(poolSize int) *Config { method ApplyDefaultsWithPoolConfig (line 223) | func (c *Config) ApplyDefaultsWithPoolConfig(poolSize int, maxActiveCo... method Clone (line 322) | func (c *Config) Clone() *Config { method applyWorkerDefaults (line 347) | func (c *Config) applyWorkerDefaults(poolSize int) { function DefaultConfig (line 137) | func DefaultConfig() *Config { function DetectEndpointType (line 381) | func DetectEndpointType(addr string, tlsEnabled bool) EndpointType { function isInternalHostname (line 427) | func isInternalHostname(hostname string) bool { FILE: maintnotifications/config_test.go function TestConfig (line 10) | func TestConfig(t *testing.T) { function TestApplyDefaults (line 117) | func TestApplyDefaults(t *testing.T) { function TestProcessorWithConfig (line 239) | func TestProcessorWithConfig(t *testing.T) { function TestIntegrationWithApplyDefaults (line 295) | func TestIntegrationWithApplyDefaults(t *testing.T) { function TestEnhancedConfigValidation (line 356) | func TestEnhancedConfigValidation(t *testing.T) { function TestConfigClone (line 403) | func TestConfigClone(t *testing.T) { function TestMaxWorkersLogic (line 425) | func TestMaxWorkersLogic(t *testing.T) { FILE: maintnotifications/e2e/cluster_maintnotif_test.go function startBackgroundTraffic (line 21) | func startBackgroundTraffic(ctx context.Context, client redis.UniversalC... function startPubSubConnections (line 51) | func startPubSubConnections(ctx context.Context, t *testing.T, client re... function waitForLogsToSettle (line 129) | func waitForLogsToSettle(t *testing.T, waitDuration time.Duration) { function waitForSMigratedOnShardsWithSMigrating (line 138) | func waitForSMigratedOnShardsWithSMigrating(t *testing.T, shards []*shar... type shardInfo (line 193) | type shardInfo struct function printPerShardNotificationSummary (line 201) | func printPerShardNotificationSummary(t *testing.T, shards []*shardInfo) { function clearAllTrackers (line 246) | func clearAllTrackers(logCollector *TestLogCollector, tracker *TrackingN... function TestProxyFaultInjectorServer_ClusterExistingE2ETest (line 262) | func TestProxyFaultInjectorServer_ClusterExistingE2ETest(t *testing.T) { function TestProxyFaultInjectorServer_ClusterReshard (line 404) | func TestProxyFaultInjectorServer_ClusterReshard(t *testing.T) { function TestProxyFaultInjectorServer_WithEnvironment (line 580) | func TestProxyFaultInjectorServer_WithEnvironment(t *testing.T) { function TestProxyFaultInjectorServer_ClusterMultipleActions (line 724) | func TestProxyFaultInjectorServer_ClusterMultipleActions(t *testing.T) { function TestProxyFaultInjectorServer_ClusterNewConnectionsReceiveNotifications (line 888) | func TestProxyFaultInjectorServer_ClusterNewConnectionsReceiveNotificati... function TestClusterSlotMigrate_AllEffects (line 1076) | func TestClusterSlotMigrate_AllEffects(t *testing.T) { FILE: maintnotifications/e2e/cmd/proxy-fi-server/main.go function main (line 13) | func main() { FILE: maintnotifications/e2e/command_runner_test.go type CommandRunnerStats (line 14) | type CommandRunnerStats struct type CommandRunner (line 22) | type CommandRunner struct method Stop (line 50) | func (cr *CommandRunner) Stop() { method Close (line 59) | func (cr *CommandRunner) Close() { method FireCommandsUntilStop (line 64) | func (cr *CommandRunner) FireCommandsUntilStop(ctx context.Context) { method GetStats (line 135) | func (cr *CommandRunner) GetStats() CommandRunnerStats { function NewCommandRunner (line 34) | func NewCommandRunner(client redis.UniversalClient) (*CommandRunner, fun... FILE: maintnotifications/e2e/config_autostart_logic_test.go function TestCreateTestFaultInjectorLogic_WithoutEnv (line 10) | func TestCreateTestFaultInjectorLogic_WithoutEnv(t *testing.T) { function TestCreateTestFaultInjectorLogic_WithEnv (line 44) | func TestCreateTestFaultInjectorLogic_WithEnv(t *testing.T) { function TestCreateTestFaultInjectorLogic_DefaultFIURL (line 100) | func TestCreateTestFaultInjectorLogic_DefaultFIURL(t *testing.T) { function TestFaultInjectorClientCreation (line 150) | func TestFaultInjectorClientCreation(t *testing.T) { FILE: maintnotifications/e2e/config_parser_test.go function debugE2E (line 24) | func debugE2E() bool { function isPortUnavailableErrorString (line 29) | func isPortUnavailableErrorString(errStr string) bool { type DatabaseEndpoint (line 34) | type DatabaseEndpoint struct type EnvDatabaseConfig (line 46) | type EnvDatabaseConfig struct type EnvDatabasesConfig (line 58) | type EnvDatabasesConfig type EnvConfig (line 61) | type EnvConfig struct type RedisConnectionConfig (line 67) | type RedisConnectionConfig struct function GetEnvConfig (line 80) | func GetEnvConfig() (*EnvConfig, error) { function GetDatabaseConfigFromEnv (line 99) | func GetDatabaseConfigFromEnv(filePath string) (EnvDatabasesConfig, erro... function GetDatabaseConfig (line 114) | func GetDatabaseConfig(databasesConfig EnvDatabasesConfig, databaseName ... function ConvertEnvDatabaseConfigToRedisConnectionConfig (line 199) | func ConvertEnvDatabaseConfigToRedisConnectionConfig(dbConfig EnvDatabas... type ClientFactory (line 267) | type ClientFactory struct method PrintPoolStats (line 313) | func (cf *ClientFactory) PrintPoolStats(t *testing.T) { method Create (line 324) | func (cf *ClientFactory) Create(key string, options *CreateClientOptio... method Get (line 419) | func (cf *ClientFactory) Get(key string) redis.UniversalClient { method GetAll (line 436) | func (cf *ClientFactory) GetAll() map[string]redis.UniversalClient { method DestroyAll (line 449) | func (cf *ClientFactory) DestroyAll() error { method Destroy (line 465) | func (cf *ClientFactory) Destroy(key string) error { method GetConfig (line 480) | func (cf *ClientFactory) GetConfig() *RedisConnectionConfig { method isClusterEndpoint (line 487) | func (cf *ClientFactory) isClusterEndpoint() bool { method getAddresses (line 509) | func (cf *ClientFactory) getAddresses() []string { function NewClientFactory (line 274) | func NewClientFactory(config *RedisConnectionConfig) *ClientFactory { type CreateClientOptions (line 282) | type CreateClientOptions struct function DefaultCreateClientOptions (line 297) | func DefaultCreateClientOptions() *CreateClientOptions { function CreateTestClientFactory (line 532) | func CreateTestClientFactory(databaseName string) (*ClientFactory, error) { function CreateTestClientFactoryWithBdbID (line 553) | func CreateTestClientFactoryWithBdbID(databaseName string, bdbID int) (*... function CreateTestFaultInjector (line 579) | func CreateTestFaultInjector() (*FaultInjectorClient, error) { function CreateTestFaultInjectorWithCleanup (line 598) | func CreateTestFaultInjectorWithCleanup() (*FaultInjectorClient, func(),... function GetAvailableDatabases (line 631) | func GetAvailableDatabases(configPath string) ([]string, error) { function ConvertEnvDatabaseConfigToFaultInjectorConfig (line 648) | func ConvertEnvDatabaseConfigToFaultInjectorConfig(envConfig EnvDatabase... function ConvertEnvDatabaseConfigToFaultInjectorConfigWithMode (line 658) | func ConvertEnvDatabaseConfigToFaultInjectorConfigWithMode(envConfig Env... type TestDatabaseManager (line 761) | type TestDatabaseManager struct method CreateDatabaseFromEnvConfig (line 779) | func (m *TestDatabaseManager) CreateDatabaseFromEnvConfig(ctx context.... method CreateDatabase (line 793) | func (m *TestDatabaseManager) CreateDatabase(ctx context.Context, dbCo... method CreateDatabaseAndGetConfig (line 839) | func (m *TestDatabaseManager) CreateDatabaseAndGetConfig(ctx context.C... method DeleteDatabase (line 991) | func (m *TestDatabaseManager) DeleteDatabase(ctx context.Context) error { method GetBdbID (line 1019) | func (m *TestDatabaseManager) GetBdbID() int { method Cleanup (line 1024) | func (m *TestDatabaseManager) Cleanup(ctx context.Context) { function NewTestDatabaseManager (line 770) | func NewTestDatabaseManager(t *testing.T, faultInjector *FaultInjectorCl... function SetupTestDatabaseFromEnv (line 1037) | func SetupTestDatabaseFromEnv(t *testing.T, ctx context.Context, databas... function SetupTestDatabaseWithConfig (line 1099) | func SetupTestDatabaseWithConfig(t *testing.T, ctx context.Context, dbCo... function SetupTestDatabaseAndFactory (line 1135) | func SetupTestDatabaseAndFactory(t *testing.T, ctx context.Context, data... function SetupTestDatabaseAndFactoryWithConfig (line 1262) | func SetupTestDatabaseAndFactoryWithConfig(t *testing.T, ctx context.Con... function GetSlotMigrateRequirementsCount (line 1366) | func GetSlotMigrateRequirementsCount(t *testing.T, ctx context.Context, ... function SetupTestDatabaseForSlotMigrate (line 1402) | func SetupTestDatabaseForSlotMigrate(t *testing.T, ctx context.Context, ... function SetupTestDatabaseForSlotMigrateWithRequirementIndex (line 1417) | func SetupTestDatabaseForSlotMigrateWithRequirementIndex(t *testing.T, c... FILE: maintnotifications/e2e/fault_injector.go type ActionType (line 17) | type ActionType type ActionListItem (line 20) | type ActionListItem struct constant ActionClusterFailover (line 29) | ActionClusterFailover ActionType = "cluster_failover" constant ActionClusterReshard (line 30) | ActionClusterReshard ActionType = "cluster_reshard" constant ActionClusterAddNode (line 31) | ActionClusterAddNode ActionType = "cluster_add_node" constant ActionClusterRemoveNode (line 32) | ActionClusterRemoveNode ActionType = "cluster_remove_node" constant ActionClusterMigrate (line 33) | ActionClusterMigrate ActionType = "cluster_migrate" constant ActionNodeRestart (line 36) | ActionNodeRestart ActionType = "node_restart" constant ActionNodeStop (line 37) | ActionNodeStop ActionType = "node_stop" constant ActionNodeStart (line 38) | ActionNodeStart ActionType = "node_start" constant ActionNodeKill (line 39) | ActionNodeKill ActionType = "node_kill" constant ActionNetworkPartition (line 42) | ActionNetworkPartition ActionType = "network_partition" constant ActionNetworkLatency (line 43) | ActionNetworkLatency ActionType = "network_latency" constant ActionNetworkPacketLoss (line 44) | ActionNetworkPacketLoss ActionType = "network_packet_loss" constant ActionNetworkBandwidth (line 45) | ActionNetworkBandwidth ActionType = "network_bandwidth" constant ActionNetworkRestore (line 46) | ActionNetworkRestore ActionType = "network_restore" constant ActionConfigChange (line 49) | ActionConfigChange ActionType = "config_change" constant ActionMaintenanceMode (line 50) | ActionMaintenanceMode ActionType = "maintenance_mode" constant ActionSlotMigration (line 51) | ActionSlotMigration ActionType = "slot_migrate" constant ActionSequence (line 54) | ActionSequence ActionType = "sequence_of_actions" constant ActionExecuteCommand (line 55) | ActionExecuteCommand ActionType = "execute_command" constant ActionDeleteDatabase (line 58) | ActionDeleteDatabase ActionType = "delete_database" constant ActionCreateDatabase (line 59) | ActionCreateDatabase ActionType = "create_database" constant ActionFailover (line 60) | ActionFailover ActionType = "failover" constant ActionMigrate (line 61) | ActionMigrate ActionType = "migrate" constant ActionBind (line 62) | ActionBind ActionType = "bind" constant ActionSlotMigrate (line 65) | ActionSlotMigrate ActionType = "slot_migrate" type SlotMigrateEffect (line 69) | type SlotMigrateEffect constant SlotMigrateEffectRemoveAdd (line 74) | SlotMigrateEffectRemoveAdd SlotMigrateEffect = "remove-add" constant SlotMigrateEffectRemove (line 78) | SlotMigrateEffectRemove SlotMigrateEffect = "remove" constant SlotMigrateEffectAdd (line 82) | SlotMigrateEffectAdd SlotMigrateEffect = "add" constant SlotMigrateEffectSlotShuffle (line 86) | SlotMigrateEffectSlotShuffle SlotMigrateEffect = "slot-shuffle" type SlotMigrateVariant (line 90) | type SlotMigrateVariant constant SlotMigrateVariantDefault (line 94) | SlotMigrateVariantDefault SlotMigrateVariant = "default" constant SlotMigrateVariantMigrate (line 97) | SlotMigrateVariantMigrate SlotMigrateVariant = "migrate" constant SlotMigrateVariantFailover (line 101) | SlotMigrateVariantFailover SlotMigrateVariant = "failover" type SlotMigrateRequest (line 105) | type SlotMigrateRequest struct type SlotMigrateTrigger (line 115) | type SlotMigrateTrigger struct type SlotMigrateTriggerRequirement (line 122) | type SlotMigrateTriggerRequirement struct type SlotMigrateTriggersResponse (line 129) | type SlotMigrateTriggersResponse struct type ActionStatus (line 136) | type ActionStatus constant StatusPending (line 139) | StatusPending ActionStatus = "pending" constant StatusRunning (line 140) | StatusRunning ActionStatus = "running" constant StatusFinished (line 141) | StatusFinished ActionStatus = "finished" constant StatusFailed (line 142) | StatusFailed ActionStatus = "failed" constant StatusSuccess (line 143) | StatusSuccess ActionStatus = "success" constant StatusCancelled (line 144) | StatusCancelled ActionStatus = "cancelled" type ActionRequest (line 148) | type ActionRequest struct type ActionResponse (line 154) | type ActionResponse struct type ActionStatusResponse (line 161) | type ActionStatusResponse struct type SequenceAction (line 172) | type SequenceAction struct type FaultInjectorClient (line 179) | type FaultInjectorClient struct method GetBaseURL (line 195) | func (c *FaultInjectorClient) GetBaseURL() string { method ListActions (line 205) | func (c *FaultInjectorClient) ListActions(ctx context.Context) ([]Acti... method TriggerAction (line 212) | func (c *FaultInjectorClient) TriggerAction(ctx context.Context, actio... method TriggerSequence (line 219) | func (c *FaultInjectorClient) TriggerSequence(ctx context.Context, bdb... method GetActionStatus (line 230) | func (c *FaultInjectorClient) GetActionStatus(ctx context.Context, act... method WaitForAction (line 237) | func (c *FaultInjectorClient) WaitForAction(ctx context.Context, actio... method TriggerClusterFailover (line 274) | func (c *FaultInjectorClient) TriggerClusterFailover(ctx context.Conte... method TriggerClusterReshard (line 287) | func (c *FaultInjectorClient) TriggerClusterReshard(ctx context.Contex... method TriggerSlotMigration (line 292) | func (c *FaultInjectorClient) TriggerSlotMigration(ctx context.Context... method GetSlotMigrateTriggers (line 309) | func (c *FaultInjectorClient) GetSlotMigrateTriggers(ctx context.Conte... method GetSlotMigrateTriggersRaw (line 319) | func (c *FaultInjectorClient) GetSlotMigrateTriggersRaw(ctx context.Co... method TriggerSlotMigrate (line 359) | func (c *FaultInjectorClient) TriggerSlotMigrate(ctx context.Context, ... method TriggerSlotMigrateRemoveAdd (line 384) | func (c *FaultInjectorClient) TriggerSlotMigrateRemoveAdd(ctx context.... method TriggerSlotMigrateRemove (line 395) | func (c *FaultInjectorClient) TriggerSlotMigrateRemove(ctx context.Con... method TriggerSlotMigrateAdd (line 406) | func (c *FaultInjectorClient) TriggerSlotMigrateAdd(ctx context.Contex... method TriggerSlotMigrateSlotShuffle (line 417) | func (c *FaultInjectorClient) TriggerSlotMigrateSlotShuffle(ctx contex... method RestartNode (line 428) | func (c *FaultInjectorClient) RestartNode(ctx context.Context, nodeID ... method StopNode (line 439) | func (c *FaultInjectorClient) StopNode(ctx context.Context, nodeID str... method StartNode (line 450) | func (c *FaultInjectorClient) StartNode(ctx context.Context, nodeID st... method KillNode (line 460) | func (c *FaultInjectorClient) KillNode(ctx context.Context, nodeID str... method SimulateNetworkPartition (line 472) | func (c *FaultInjectorClient) SimulateNetworkPartition(ctx context.Con... method SimulateNetworkLatency (line 483) | func (c *FaultInjectorClient) SimulateNetworkLatency(ctx context.Conte... method SimulatePacketLoss (line 495) | func (c *FaultInjectorClient) SimulatePacketLoss(ctx context.Context, ... method LimitBandwidth (line 506) | func (c *FaultInjectorClient) LimitBandwidth(ctx context.Context, node... method RestoreNetwork (line 517) | func (c *FaultInjectorClient) RestoreNetwork(ctx context.Context, node... method ChangeConfig (line 529) | func (c *FaultInjectorClient) ChangeConfig(ctx context.Context, nodeID... method EnableMaintenanceMode (line 540) | func (c *FaultInjectorClient) EnableMaintenanceMode(ctx context.Contex... method DisableMaintenanceMode (line 551) | func (c *FaultInjectorClient) DisableMaintenanceMode(ctx context.Conte... method DeleteDatabase (line 596) | func (c *FaultInjectorClient) DeleteDatabase(ctx context.Context, clus... method CreateDatabase (line 610) | func (c *FaultInjectorClient) CreateDatabase(ctx context.Context, clus... method CreateDatabaseFromMap (line 625) | func (c *FaultInjectorClient) CreateDatabaseFromMap(ctx context.Contex... method CreateDatabaseWithPortRetry (line 651) | func (c *FaultInjectorClient) CreateDatabaseWithPortRetry(ctx context.... method CreateDatabaseConfigWithPortRetry (line 712) | func (c *FaultInjectorClient) CreateDatabaseConfigWithPortRetry(ctx co... method ExecuteSequence (line 748) | func (c *FaultInjectorClient) ExecuteSequence(ctx context.Context, act... method ExecuteCommand (line 758) | func (c *FaultInjectorClient) ExecuteCommand(ctx context.Context, node... method SimulateClusterUpgrade (line 771) | func (c *FaultInjectorClient) SimulateClusterUpgrade(ctx context.Conte... method SimulateNetworkIssues (line 790) | func (c *FaultInjectorClient) SimulateNetworkIssues(ctx context.Contex... method request (line 844) | func (c *FaultInjectorClient) request(ctx context.Context, method, pat... function NewFaultInjectorClient (line 185) | func NewFaultInjectorClient(baseURL string) *FaultInjectorClient { type ActionsListResponse (line 200) | type ActionsListResponse struct type DatabaseConfig (line 564) | type DatabaseConfig struct type DatabaseModule (line 582) | type DatabaseModule struct type ShardKeyRegexPattern (line 588) | type ShardKeyRegexPattern struct function isPortUnavailableError (line 636) | func isPortUnavailableError(err error) bool { type waitConfig (line 822) | type waitConfig struct type WaitOption (line 827) | type WaitOption function WithPollInterval (line 830) | func WithPollInterval(interval time.Duration) WaitOption { function WithMaxWaitTime (line 837) | func WithMaxWaitTime(maxWait time.Duration) WaitOption { function GetClusterNodes (line 919) | func GetClusterNodes() []string { function GetMasterNodes (line 926) | func GetMasterNodes() []string { function GetSlaveNodes (line 932) | func GetSlaveNodes() []string { function ParseNodeID (line 938) | func ParseNodeID(nodeAddr string) string { function FormatSlotRange (line 952) | func FormatSlotRange(start, end int) string { function DebugE2E (line 961) | func DebugE2E() bool { function formatSMigratingNotification (line 966) | func formatSMigratingNotification(seqID int64, slots ...string) string { function formatSMigratedNotification (line 982) | func formatSMigratedNotification(seqID int64, endpoints ...string) string { FILE: maintnotifications/e2e/logcollector_test.go type logs (line 18) | type logs method Contains (line 20) | func (l logs) Contains(searchString string) bool { method GetCount (line 29) | func (l logs) GetCount() int { method GetCountThatContain (line 33) | func (l logs) GetCountThatContain(searchString string) int { method GetLogsFiltered (line 43) | func (l logs) GetLogsFiltered(filter func(string) bool) []string { method GetTimedOutLogs (line 53) | func (l logs) GetTimedOutLogs() logs { method GetLogsPerConn (line 57) | func (l logs) GetLogsPerConn(connID uint64) logs { method GetAnalysis (line 63) | func (l logs) GetAnalysis() *LogAnalisis { type TestLogCollector (line 71) | type TestLogCollector struct method DontPrint (line 79) | func (tlc *TestLogCollector) DontPrint() { method DoPrint (line 85) | func (tlc *TestLogCollector) DoPrint() { method Printf (line 103) | func (tlc *TestLogCollector) Printf(_ context.Context, format string, ... method WaitForLogContaining (line 136) | func (tlc *TestLogCollector) WaitForLogContaining(searchString string,... method MatchOrWaitForLogMatchFunc (line 151) | func (tlc *TestLogCollector) MatchOrWaitForLogMatchFunc(mf func(string... method WaitForLogMatchFunc (line 167) | func (tlc *TestLogCollector) WaitForLogMatchFunc(mf func(string) bool,... method GetLogs (line 250) | func (tlc *TestLogCollector) GetLogs() logs { method DumpLogs (line 256) | func (tlc *TestLogCollector) DumpLogs() { method ClearLogs (line 266) | func (tlc *TestLogCollector) ClearLogs() { method Contains (line 272) | func (tlc *TestLogCollector) Contains(searchString string) bool { method MatchContainsAll (line 278) | func (tlc *TestLogCollector) MatchContainsAll(searchStrings []string) ... method GetLogCount (line 290) | func (tlc *TestLogCollector) GetLogCount() int { method GetLogCountThatContain (line 296) | func (tlc *TestLogCollector) GetLogCountThatContain(searchString strin... method GetLogsFiltered (line 302) | func (tlc *TestLogCollector) GetLogsFiltered(filter func(string) bool)... method GetTimedOutLogs (line 308) | func (tlc *TestLogCollector) GetTimedOutLogs() []string { method GetLogsPerConn (line 312) | func (tlc *TestLogCollector) GetLogsPerConn(connID uint64) logs { method GetAnalysisForConn (line 318) | func (tlc *TestLogCollector) GetAnalysisForConn(connID uint64) *LogAna... method GetAnalysis (line 328) | func (tlc *TestLogCollector) GetAnalysis() *LogAnalisis { method Clear (line 332) | func (tlc *TestLogCollector) Clear() { type MatchFunc (line 94) | type MatchFunc struct function NewTestLogCollector (line 322) | func NewTestLogCollector() *TestLogCollector { type LogAnalisis (line 340) | type LogAnalisis struct method Analyze (line 381) | func (la *LogAnalisis) Analyze() { method PrintSummary (line 468) | func (la *LogAnalisis) PrintSummary(t *testing.T) { method Print (line 475) | func (la *LogAnalisis) Print(t *testing.T) { function NewLogAnalysis (line 371) | func NewLogAnalysis(logs []string) *LogAnalisis { function extractConnID (line 514) | func extractConnID(log string) uint64 { function notificationType (line 527) | func notificationType(log string, nt string) bool { function notificationTypeWithSeqID (line 533) | func notificationTypeWithSeqID(log string, nt string) bool { function connID (line 536) | func connID(log string, connID uint64) bool { function seqID (line 539) | func seqID(log string, seqID int64) bool { FILE: maintnotifications/e2e/main_test.go constant defaultTestTimeout (line 16) | defaultTestTimeout = 30 * time.Minute function TestMain (line 22) | func TestMain(m *testing.M) { FILE: maintnotifications/e2e/notification_injector_test.go type NotificationInjector (line 18) | type NotificationInjector interface function NewNotificationInjector (line 60) | func NewNotificationInjector() (NotificationInjector, error) { type ProxyNotificationInjector (line 76) | type ProxyNotificationInjector struct method Start (line 105) | func (p *ProxyNotificationInjector) Start() error { method addNode (line 226) | func (p *ProxyNotificationInjector) addNode(listenPort, targetPort int... method buildClusterSlotsResponse (line 265) | func (p *ProxyNotificationInjector) buildClusterSlotsResponse() string { method addClusterSlotsInterceptor (line 309) | func (p *ProxyNotificationInjector) addClusterSlotsInterceptor() error { method updateClusterSlotsInterceptor (line 342) | func (p *ProxyNotificationInjector) updateClusterSlotsInterceptor() er... method setupClusterInterceptors (line 375) | func (p *ProxyNotificationInjector) setupClusterInterceptors() error { method Stop (line 425) | func (p *ProxyNotificationInjector) Stop() error { method GetClusterAddrs (line 432) | func (p *ProxyNotificationInjector) GetClusterAddrs() []string { method IsReal (line 440) | func (p *ProxyNotificationInjector) IsReal() bool { method GetTestModeConfig (line 444) | func (p *ProxyNotificationInjector) GetTestModeConfig() *TestModeConfig { method InjectSMIGRATING (line 457) | func (p *ProxyNotificationInjector) InjectSMIGRATING(ctx context.Conte... method InjectSMIGRATED (line 462) | func (p *ProxyNotificationInjector) InjectSMIGRATED(ctx context.Contex... method InjectMOVING (line 485) | func (p *ProxyNotificationInjector) InjectMOVING(ctx context.Context, ... method InjectMIGRATING (line 490) | func (p *ProxyNotificationInjector) InjectMIGRATING(ctx context.Contex... method InjectMIGRATED (line 495) | func (p *ProxyNotificationInjector) InjectMIGRATED(ctx context.Context... method InjectFAILING_OVER (line 500) | func (p *ProxyNotificationInjector) InjectFAILING_OVER(ctx context.Con... method InjectFAILED_OVER (line 505) | func (p *ProxyNotificationInjector) InjectFAILED_OVER(ctx context.Cont... method injectNotification (line 510) | func (p *ProxyNotificationInjector) injectNotification(notification st... type proxyNode (line 85) | type proxyNode struct function NewProxyNotificationInjector (line 94) | func NewProxyNotificationInjector(apiPort int) *ProxyNotificationInjector { function formatMovingNotification (line 528) | func formatMovingNotification(seqID int64, timeS int64, endpoint string)... function formatMigratingNotification (line 538) | func formatMigratingNotification(seqID int64, slot int) string { function formatMigratedNotification (line 543) | func formatMigratedNotification(seqID int64, slot int) string { function formatFailingOverNotification (line 548) | func formatFailingOverNotification(seqID int64) string { function formatFailedOverNotification (line 553) | func formatFailedOverNotification(seqID int64) string { type FaultInjectorNotificationInjector (line 559) | type FaultInjectorNotificationInjector struct method Start (line 585) | func (f *FaultInjectorNotificationInjector) Start() error { method Stop (line 590) | func (f *FaultInjectorNotificationInjector) Stop() error { method GetClusterAddrs (line 595) | func (f *FaultInjectorNotificationInjector) GetClusterAddrs() []string { method IsReal (line 599) | func (f *FaultInjectorNotificationInjector) IsReal() bool { method GetTestModeConfig (line 603) | func (f *FaultInjectorNotificationInjector) GetTestModeConfig() *TestM... method InjectSMIGRATING (line 616) | func (f *FaultInjectorNotificationInjector) InjectSMIGRATING(ctx conte... method InjectSMIGRATED (line 640) | func (f *FaultInjectorNotificationInjector) InjectSMIGRATED(ctx contex... method InjectMOVING (line 647) | func (f *FaultInjectorNotificationInjector) InjectMOVING(ctx context.C... method InjectMIGRATING (line 652) | func (f *FaultInjectorNotificationInjector) InjectMIGRATING(ctx contex... method InjectMIGRATED (line 663) | func (f *FaultInjectorNotificationInjector) InjectMIGRATED(ctx context... method InjectFAILING_OVER (line 668) | func (f *FaultInjectorNotificationInjector) InjectFAILING_OVER(ctx con... method InjectFAILED_OVER (line 673) | func (f *FaultInjectorNotificationInjector) InjectFAILED_OVER(ctx cont... function NewFaultInjectorNotificationInjector (line 566) | func NewFaultInjectorNotificationInjector(baseURL string) *FaultInjector... FILE: maintnotifications/e2e/notiftracker_test.go type DiagnosticsEvent (line 20) | type DiagnosticsEvent struct type TrackingNotificationsHook (line 38) | type TrackingNotificationsHook struct method SetShardAddr (line 97) | func (tnh *TrackingNotificationsHook) SetShardAddr(addr string) { method GetLastNotificationTime (line 102) | func (tnh *TrackingNotificationsHook) GetLastNotificationTime() time.T... method Clear (line 108) | func (tnh *TrackingNotificationsHook) Clear() { method FindOrWaitForNotification (line 131) | func (tnh *TrackingNotificationsHook) FindOrWaitForNotification(notifi... method FindNotification (line 151) | func (tnh *TrackingNotificationsHook) FindNotification(notificationTyp... method PreHook (line 163) | func (tnh *TrackingNotificationsHook) PreHook(_ context.Context, notif... method getConnID (line 173) | func (tnh *TrackingNotificationsHook) getConnID(notificationCtx push.N... method getSeqID (line 180) | func (tnh *TrackingNotificationsHook) getSeqID(notification []interfac... method PostHook (line 189) | func (tnh *TrackingNotificationsHook) PostHook(_ context.Context, noti... method storeDiagnosticsEvent (line 210) | func (tnh *TrackingNotificationsHook) storeDiagnosticsEvent(notificati... method getShardAddrFromContext (line 243) | func (tnh *TrackingNotificationsHook) getShardAddrFromContext(notifica... method GetRelaxedTimeoutCount (line 253) | func (tnh *TrackingNotificationsHook) GetRelaxedTimeoutCount() int64 { method GetUnrelaxedTimeoutCount (line 258) | func (tnh *TrackingNotificationsHook) GetUnrelaxedTimeoutCount() int64 { method GetNotificationProcessingErrors (line 263) | func (tnh *TrackingNotificationsHook) GetNotificationProcessingErrors(... method GetTotalNotifications (line 268) | func (tnh *TrackingNotificationsHook) GetTotalNotifications() int64 { method GetConnectionCount (line 273) | func (tnh *TrackingNotificationsHook) GetConnectionCount() int64 { method GetMovingCount (line 278) | func (tnh *TrackingNotificationsHook) GetMovingCount() int64 { method GetDiagnosticsLog (line 283) | func (tnh *TrackingNotificationsHook) GetDiagnosticsLog() []Diagnostic... method increaseNotificationCount (line 292) | func (tnh *TrackingNotificationsHook) increaseNotificationCount(notifi... method increaseRelaxedTimeoutCount (line 314) | func (tnh *TrackingNotificationsHook) increaseRelaxedTimeoutCount(noti... method GetAnalysis (line 323) | func (tnh *TrackingNotificationsHook) GetAnalysis() *DiagnosticsAnalys... method GetDiagnosticsLogForConn (line 327) | func (tnh *TrackingNotificationsHook) GetDiagnosticsLogForConn(connID ... method GetAnalysisForConn (line 340) | func (tnh *TrackingNotificationsHook) GetAnalysisForConn(connID uint64... function NewTrackingNotificationsHook (line 74) | func NewTrackingNotificationsHook() *TrackingNotificationsHook { function NewTrackingNotificationsHookWithShard (line 85) | func NewTrackingNotificationsHookWithShard(shardAddr string) *TrackingNo... type DiagnosticsAnalysis (line 344) | type DiagnosticsAnalysis struct method Analyze (line 375) | func (a *DiagnosticsAnalysis) Analyze() { method PrintSummary (line 421) | func (a *DiagnosticsAnalysis) PrintSummary(t *testing.T) { method Print (line 430) | func (a *DiagnosticsAnalysis) Print(t *testing.T) { function NewDiagnosticsAnalysis (line 364) | func NewDiagnosticsAnalysis(diagnosticsLog []DiagnosticsEvent) *Diagnost... function setupNotificationHook (line 529) | func setupNotificationHook(client *redis.ClusterClient, hook maintnotifi... function setupNotificationHooks (line 550) | func setupNotificationHooks(client redis.UniversalClient, hooks ...maint... FILE: maintnotifications/e2e/proxy_fault_injector_server.go type ProxyFaultInjectorServer (line 22) | type ProxyFaultInjectorServer struct method Start (line 109) | func (s *ProxyFaultInjectorServer) Start() error { method Stop (line 264) | func (s *ProxyFaultInjectorServer) Stop() error { method addProxyNode (line 286) | func (s *ProxyFaultInjectorServer) addProxyNode(listenPort, targetPort... method handleAction (line 331) | func (s *ProxyFaultInjectorServer) handleAction(w http.ResponseWriter,... method handleListActions (line 342) | func (s *ProxyFaultInjectorServer) handleListActions(w http.ResponseWr... method handleTriggerAction (line 369) | func (s *ProxyFaultInjectorServer) handleTriggerAction(w http.Response... method handleActionStatus (line 414) | func (s *ProxyFaultInjectorServer) handleActionStatus(w http.ResponseW... method executeAction (line 449) | func (s *ProxyFaultInjectorServer) executeAction(action *actionState) { method executeSlotMigration (line 486) | func (s *ProxyFaultInjectorServer) executeSlotMigration(action *action... method executeClusterReshard (line 552) | func (s *ProxyFaultInjectorServer) executeClusterReshard(action *actio... method executeClusterMigrate (line 611) | func (s *ProxyFaultInjectorServer) executeClusterMigrate(action *actio... method injectNotification (line 616) | func (s *ProxyFaultInjectorServer) injectNotification(notification str... method executeFailover (line 647) | func (s *ProxyFaultInjectorServer) executeFailover(action *actionState) { method executeMigrate (line 689) | func (s *ProxyFaultInjectorServer) executeMigrate(action *actionState) { method executeBind (line 735) | func (s *ProxyFaultInjectorServer) executeBind(action *actionState) { method GetClusterAddrs (line 829) | func (s *ProxyFaultInjectorServer) GetClusterAddrs() []string { method generateSeqID (line 841) | func (s *ProxyFaultInjectorServer) generateSeqID() int64 { method setActiveNotification (line 846) | func (s *ProxyFaultInjectorServer) setActiveNotification(notifType str... method clearActiveNotification (line 854) | func (s *ProxyFaultInjectorServer) clearActiveNotification(notifType s... method getActiveNotifications (line 862) | func (s *ProxyFaultInjectorServer) getActiveNotifications() map[string... method startConnectionMonitoring (line 874) | func (s *ProxyFaultInjectorServer) startConnectionMonitoring() { method stopConnectionMonitoring (line 892) | func (s *ProxyFaultInjectorServer) stopConnectionMonitoring() { method checkForNewConnections (line 898) | func (s *ProxyFaultInjectorServer) checkForNewConnections() { method sendToConnection (line 973) | func (s *ProxyFaultInjectorServer) sendToConnection(connID string, not... method handleSlotMigrate (line 993) | func (s *ProxyFaultInjectorServer) handleSlotMigrate(w http.ResponseWr... method handleSlotMigrateGetTriggers (line 1005) | func (s *ProxyFaultInjectorServer) handleSlotMigrateGetTriggers(w http... method handleSlotMigrateTrigger (line 1133) | func (s *ProxyFaultInjectorServer) handleSlotMigrateTrigger(w http.Res... method executeSlotMigrateAction (line 1200) | func (s *ProxyFaultInjectorServer) executeSlotMigrateAction(action *ac... method executeSlotMigrateRemoveAdd (line 1227) | func (s *ProxyFaultInjectorServer) executeSlotMigrateRemoveAdd(action ... method executeSlotMigrateRemove (line 1278) | func (s *ProxyFaultInjectorServer) executeSlotMigrateRemove(action *ac... method executeSlotMigrateAdd (line 1332) | func (s *ProxyFaultInjectorServer) executeSlotMigrateAdd(action *actio... method executeSlotMigrateSlotShuffle (line 1395) | func (s *ProxyFaultInjectorServer) executeSlotMigrateSlotShuffle(actio... method executeDeleteDatabase (line 1454) | func (s *ProxyFaultInjectorServer) executeDeleteDatabase(action *actio... method executeCreateDatabase (line 1465) | func (s *ProxyFaultInjectorServer) executeCreateDatabase(action *actio... type proxyNodeInfo (line 54) | type proxyNodeInfo struct type actionState (line 62) | type actionState struct function NewProxyFaultInjectorServer (line 74) | func NewProxyFaultInjectorServer(listenAddr string, proxyAPIPort int) *P... function NewProxyFaultInjectorServerWithURL (line 92) | func NewProxyFaultInjectorServerWithURL(listenAddr string, proxyAPIURL s... function min (line 640) | func min(a, b int) int { FILE: maintnotifications/e2e/scenario_endpoint_types_test.go function TestEndpointTypesPushNotifications (line 19) | func TestEndpointTypesPushNotifications(t *testing.T) { FILE: maintnotifications/e2e/scenario_push_notifications_test.go function TestPushNotifications (line 18) | func TestPushNotifications(t *testing.T) { FILE: maintnotifications/e2e/scenario_stress_test.go function TestStressPushNotifications (line 17) | func TestStressPushNotifications(t *testing.T) { FILE: maintnotifications/e2e/scenario_timeout_configs_test.go function TestTimeoutConfigurationsPushNotifications (line 18) | func TestTimeoutConfigurationsPushNotifications(t *testing.T) { FILE: maintnotifications/e2e/scenario_tls_configs_test.go function TestTLSConfigurationsPushNotifications (line 17) | func TestTLSConfigurationsPushNotifications(t *testing.T) { FILE: maintnotifications/e2e/scenario_unified_injector_test.go function TestUnifiedInjector_SMIGRATING (line 18) | func TestUnifiedInjector_SMIGRATING(t *testing.T) { function TestUnifiedInjector_SMIGRATED (line 113) | func TestUnifiedInjector_SMIGRATED(t *testing.T) { function TestUnifiedInjector_ComplexScenario (line 334) | func TestUnifiedInjector_ComplexScenario(t *testing.T) { FILE: maintnotifications/e2e/slot_keys_test.go function extractSlotsFromEvent (line 6) | func extractSlotsFromEvent(event DiagnosticsEvent) string { FILE: maintnotifications/e2e/test_mode_test.go type TestMode (line 9) | type TestMode method String (line 105) | func (m TestMode) String() string { constant TestModeProxyMock (line 13) | TestModeProxyMock TestMode = iota constant TestModeRealFaultInjector (line 15) | TestModeRealFaultInjector type TestModeConfig (line 19) | type TestModeConfig struct method IsProxyMock (line 95) | func (c *TestModeConfig) IsProxyMock() bool { method IsRealFaultInjector (line 100) | func (c *TestModeConfig) IsRealFaultInjector() bool { function GetTestMode (line 35) | func GetTestMode() TestMode { function GetTestModeConfig (line 51) | func GetTestModeConfig() *TestModeConfig { FILE: maintnotifications/e2e/utils_test.go function isTimeout (line 10) | func isTimeout(errMsg string) bool { function isTimeoutError (line 17) | func isTimeoutError(err error) bool { function contains (line 28) | func contains(s, substr string) bool { function containsSubstring (line 37) | func containsSubstring(s, substr string) bool { function printLog (line 46) | func printLog(group string, isError bool, format string, args ...interfa... function actionOutputIfFailed (line 58) | func actionOutputIfFailed(status *ActionStatusResponse) string { FILE: maintnotifications/example_hooks.go type contextKey (line 15) | type contextKey constant startTimeKey (line 18) | startTimeKey contextKey = "maint_notif_start_time" type MetricsHook (line 22) | type MetricsHook struct method PreHook (line 41) | func (mh *MetricsHook) PreHook(ctx context.Context, notificationCtx pu... method PostHook (line 57) | func (mh *MetricsHook) PostHook(ctx context.Context, notificationCtx p... method GetMetrics (line 76) | func (mh *MetricsHook) GetMetrics() map[string]interface{} { function NewMetricsHook (line 32) | func NewMetricsHook() *MetricsHook { function ExampleCircuitBreakerMonitor (line 85) | func ExampleCircuitBreakerMonitor(poolHook *PoolHook) { FILE: maintnotifications/handoff_worker.go constant PoolNameMain (line 17) | PoolNameMain = "main" type handoffWorkerManager (line 20) | type handoffWorkerManager struct method getCurrentWorkers (line 61) | func (hwm *handoffWorkerManager) getCurrentWorkers() int { method getPendingMap (line 66) | func (hwm *handoffWorkerManager) getPendingMap() *sync.Map { method getMaxWorkers (line 71) | func (hwm *handoffWorkerManager) getMaxWorkers() int { method getHandoffQueue (line 76) | func (hwm *handoffWorkerManager) getHandoffQueue() chan HandoffRequest { method getCircuitBreakerStats (line 81) | func (hwm *handoffWorkerManager) getCircuitBreakerStats() []CircuitBre... method resetCircuitBreakers (line 86) | func (hwm *handoffWorkerManager) resetCircuitBreakers() { method isHandoffPending (line 91) | func (hwm *handoffWorkerManager) isHandoffPending(conn *pool.Conn) bool { method ensureWorkerAvailable (line 98) | func (hwm *handoffWorkerManager) ensureWorkerAvailable() { method onDemandWorker (line 123) | func (hwm *handoffWorkerManager) onDemandWorker() { method processHandoffRequest (line 180) | func (hwm *handoffWorkerManager) processHandoffRequest(request Handoff... method queueHandoff (line 267) | func (hwm *handoffWorkerManager) queueHandoff(conn *pool.Conn) error { method shutdownWorkers (line 330) | func (hwm *handoffWorkerManager) shutdownWorkers(ctx context.Context) ... method performConnectionHandoff (line 358) | func (hwm *handoffWorkerManager) performConnectionHandoff(ctx context.... method performHandoffInternal (line 394) | func (hwm *handoffWorkerManager) performHandoffInternal( method createEndpointDialer (line 482) | func (hwm *handoffWorkerManager) createEndpointDialer(endpoint string)... method closeConnFromRequest (line 500) | func (hwm *handoffWorkerManager) closeConnFromRequest(ctx context.Cont... function newHandoffWorkerManager (line 47) | func newHandoffWorkerManager(config *Config, poolHook *PoolHook) *handof... FILE: maintnotifications/hooks.go type LoggingHook (line 14) | type LoggingHook struct method PreHook (line 19) | func (lh *LoggingHook) PreHook(ctx context.Context, notificationCtx pu... method PostHook (line 44) | func (lh *LoggingHook) PostHook(ctx context.Context, notificationCtx p... function NewLoggingHook (line 58) | func NewLoggingHook(logLevel int) *LoggingHook { FILE: maintnotifications/manager.go constant NotificationMoving (line 21) | NotificationMoving = "MOVING" constant NotificationMigrating (line 22) | NotificationMigrating = "MIGRATING" constant NotificationMigrated (line 23) | NotificationMigrated = "MIGRATED" constant NotificationFailingOver (line 24) | NotificationFailingOver = "FAILING_OVER" constant NotificationFailedOver (line 25) | NotificationFailedOver = "FAILED_OVER" constant NotificationSMigrating (line 26) | NotificationSMigrating = "SMIGRATING" constant NotificationSMigrated (line 27) | NotificationSMigrated = "SMIGRATED" type NotificationHook (line 44) | type NotificationHook interface type MovingOperationKey (line 52) | type MovingOperationKey struct method String (line 58) | func (k MovingOperationKey) String() string { type Manager (line 63) | type Manager struct method InitPoolHook (line 128) | func (hm *Manager) InitPoolHook(baseDialer func(context.Context, strin... method setupPushNotifications (line 134) | func (hm *Manager) setupPushNotifications() error { method TrackMovingOperationWithConnID (line 154) | func (hm *Manager) TrackMovingOperationWithConnID(ctx context.Context,... method UntrackOperationWithConnID (line 188) | func (hm *Manager) UntrackOperationWithConnID(seqID int64, connID uint... method GetActiveMovingOperations (line 212) | func (hm *Manager) GetActiveMovingOperations() map[MovingOperationKey]... method IsHandoffInProgress (line 235) | func (hm *Manager) IsHandoffInProgress() bool { method GetActiveOperationCount (line 241) | func (hm *Manager) GetActiveOperationCount() int64 { method MarkSMigratedSeqIDProcessed (line 249) | func (hm *Manager) MarkSMigratedSeqIDProcessed(seqID int64) bool { method Close (line 255) | func (hm *Manager) Close() error { method GetState (line 292) | func (hm *Manager) GetState() State { method processPreHooks (line 300) | func (hm *Manager) processPreHooks(ctx context.Context, notificationCt... method processPostHooks (line 318) | func (hm *Manager) processPostHooks(ctx context.Context, notificationC... method createPoolHook (line 328) | func (hm *Manager) createPoolHook(baseDialer func(context.Context, str... method AddNotificationHook (line 344) | func (hm *Manager) AddNotificationHook(notificationHook NotificationHo... method SetClusterStateReloadCallback (line 352) | func (hm *Manager) SetClusterStateReloadCallback(callback ClusterState... method TriggerClusterStateReload (line 358) | func (hm *Manager) TriggerClusterStateReload(ctx context.Context, host... type MovingOperation (line 90) | type MovingOperation struct type ClusterStateReloadCallback (line 103) | type ClusterStateReloadCallback function NewManager (line 106) | func NewManager(client interfaces.ClientInterface, pool pool.Pooler, con... FILE: maintnotifications/manager_test.go type MockClient (line 13) | type MockClient struct method GetOptions (line 17) | func (mc *MockClient) GetOptions() interfaces.OptionsInterface { method GetPushProcessor (line 21) | func (mc *MockClient) GetPushProcessor() interfaces.NotificationProces... type MockPushProcessor (line 26) | type MockPushProcessor struct method RegisterHandler (line 28) | func (mpp *MockPushProcessor) RegisterHandler(notificationType string,... method UnregisterHandler (line 32) | func (mpp *MockPushProcessor) UnregisterHandler(pushNotificationName s... method GetHandler (line 36) | func (mpp *MockPushProcessor) GetHandler(pushNotificationName string) ... type MockOptions (line 41) | type MockOptions struct method GetReadTimeout (line 43) | func (mo *MockOptions) GetReadTimeout() time.Duration { method GetWriteTimeout (line 47) | func (mo *MockOptions) GetWriteTimeout() time.Duration { method GetAddr (line 51) | func (mo *MockOptions) GetAddr() string { method GetNodeAddress (line 55) | func (mo *MockOptions) GetNodeAddress() string { method IsTLSEnabled (line 59) | func (mo *MockOptions) IsTLSEnabled() bool { method GetProtocol (line 63) | func (mo *MockOptions) GetProtocol() int { method GetPoolSize (line 67) | func (mo *MockOptions) GetPoolSize() int { method GetNetwork (line 71) | func (mo *MockOptions) GetNetwork() string { method NewDialer (line 75) | func (mo *MockOptions) NewDialer() func(context.Context) (net.Conn, er... function TestManagerRefactoring (line 81) | func TestManagerRefactoring(t *testing.T) { FILE: maintnotifications/pool_hook.go type OperationsManagerInterface (line 15) | type OperationsManagerInterface interface type HandoffRequest (line 21) | type HandoffRequest struct type PoolHook (line 31) | type PoolHook struct method SetPool (line 79) | func (ph *PoolHook) SetPool(pooler pool.Pooler) { method GetCurrentWorkers (line 84) | func (ph *PoolHook) GetCurrentWorkers() int { method IsHandoffPending (line 89) | func (ph *PoolHook) IsHandoffPending(conn *pool.Conn) bool { method GetPendingMap (line 94) | func (ph *PoolHook) GetPendingMap() *sync.Map { method GetMaxWorkers (line 99) | func (ph *PoolHook) GetMaxWorkers() int { method GetHandoffQueue (line 104) | func (ph *PoolHook) GetHandoffQueue() chan HandoffRequest { method GetCircuitBreakerStats (line 109) | func (ph *PoolHook) GetCircuitBreakerStats() []CircuitBreakerStats { method ResetCircuitBreakers (line 114) | func (ph *PoolHook) ResetCircuitBreakers() { method OnGet (line 119) | func (ph *PoolHook) OnGet(_ context.Context, conn *pool.Conn, _ bool) ... method OnPut (line 136) | func (ph *PoolHook) OnPut(ctx context.Context, conn *pool.Conn) (shoul... method OnRemove (line 175) | func (ph *PoolHook) OnRemove(_ context.Context, _ *pool.Conn, _ error) { method Shutdown (line 180) | func (ph *PoolHook) Shutdown(ctx context.Context) error { function NewPoolHook (line 53) | func NewPoolHook(baseDialer func(context.Context, string, string) (net.C... function NewPoolHookWithPoolSize (line 58) | func NewPoolHookWithPoolSize(baseDialer func(context.Context, string, st... FILE: maintnotifications/pool_hook_test.go type mockNetConn (line 17) | type mockNetConn struct method Read (line 22) | func (m *mockNetConn) Read(b []byte) (n int, err error) { return 0, ... method Write (line 23) | func (m *mockNetConn) Write(b []byte) (n int, err error) { return len... method Close (line 24) | func (m *mockNetConn) Close() error { return nil } method LocalAddr (line 25) | func (m *mockNetConn) LocalAddr() net.Addr { return &mo... method RemoteAddr (line 26) | func (m *mockNetConn) RemoteAddr() net.Addr { return &mo... method SetDeadline (line 27) | func (m *mockNetConn) SetDeadline(t time.Time) error { return nil } method SetReadDeadline (line 28) | func (m *mockNetConn) SetReadDeadline(t time.Time) error { return nil } method SetWriteDeadline (line 29) | func (m *mockNetConn) SetWriteDeadline(t time.Time) error { return nil } type mockAddr (line 31) | type mockAddr struct method Network (line 35) | func (m *mockAddr) Network() string { return "tcp" } method String (line 36) | func (m *mockAddr) String() string { return m.addr } function createMockPoolConnection (line 39) | func createMockPoolConnection() *pool.Conn { type mockPool (line 49) | type mockPool struct method NewConn (line 54) | func (mp *mockPool) NewConn(ctx context.Context) (*pool.Conn, error) { method CloseConn (line 58) | func (mp *mockPool) CloseConn(ctx context.Context, conn *pool.Conn, re... method Get (line 62) | func (mp *mockPool) Get(ctx context.Context) (*pool.Conn, error) { method Put (line 66) | func (mp *mockPool) Put(ctx context.Context, conn *pool.Conn) { method Remove (line 70) | func (mp *mockPool) Remove(ctx context.Context, conn *pool.Conn, reaso... method RemoveWithoutTurn (line 78) | func (mp *mockPool) RemoveWithoutTurn(ctx context.Context, conn *pool.... method WasRemoved (line 84) | func (mp *mockPool) WasRemoved(connID uint64) bool { method Len (line 90) | func (mp *mockPool) Len() int { method IdleLen (line 94) | func (mp *mockPool) IdleLen() int { method Stats (line 98) | func (mp *mockPool) Stats() *pool.Stats { method Size (line 102) | func (mp *mockPool) Size() int { method AddPoolHook (line 106) | func (mp *mockPool) AddPoolHook(hook pool.PoolHook) { method RemovePoolHook (line 110) | func (mp *mockPool) RemovePoolHook(hook pool.PoolHook) { method Close (line 114) | func (mp *mockPool) Close() error { function TestConnectionHook (line 119) | func TestConnectionHook(t *testing.T) { FILE: maintnotifications/push_notification_handler.go type NotificationHandler (line 17) | type NotificationHandler struct method HandlePushNotification (line 23) | func (snh *NotificationHandler) HandlePushNotification(ctx context.Con... method handleMoving (line 79) | func (snh *NotificationHandler) handleMoving(ctx context.Context, hand... method markConnForHandoff (line 186) | func (snh *NotificationHandler) markConnForHandoff(conn *pool.Conn, ne... method handleMigrating (line 208) | func (snh *NotificationHandler) handleMigrating(ctx context.Context, h... method handleMigrated (line 243) | func (snh *NotificationHandler) handleMigrated(ctx context.Context, ha... method handleFailingOver (line 273) | func (snh *NotificationHandler) handleFailingOver(ctx context.Context,... method handleFailedOver (line 309) | func (snh *NotificationHandler) handleFailedOver(ctx context.Context, ... method handleSMigrating (line 339) | func (snh *NotificationHandler) handleSMigrating(ctx context.Context, ... method handleSMigrated (line 392) | func (snh *NotificationHandler) handleSMigrated(ctx context.Context, h... FILE: maintnotifications/push_notification_handler_test.go type testOptions (line 14) | type testOptions struct method GetReadTimeout (line 18) | func (to *testOptions) GetReadTimeout() time.Duration { return 5 * ti... method GetWriteTimeout (line 19) | func (to *testOptions) GetWriteTimeout() time.Duration { return 5 * ti... method GetNetwork (line 20) | func (to *testOptions) GetNetwork() string { return "tcp" } method GetAddr (line 21) | func (to *testOptions) GetAddr() string { return "local... method GetNodeAddress (line 22) | func (to *testOptions) GetNodeAddress() string { return to.nod... method IsTLSEnabled (line 23) | func (to *testOptions) IsTLSEnabled() bool { return false } method GetProtocol (line 24) | func (to *testOptions) GetProtocol() int { return 3 } method GetPoolSize (line 25) | func (to *testOptions) GetPoolSize() int { return 10 } method NewDialer (line 26) | func (to *testOptions) NewDialer() func(context.Context) (net.Conn, er... function createTestManager (line 30) | func createTestManager(nodeAddress string) *Manager { function TestHandleSMigrated_CorrectFormat (line 43) | func TestHandleSMigrated_CorrectFormat(t *testing.T) { function TestHandleSMigrated_SingleTriplet (line 75) | func TestHandleSMigrated_SingleTriplet(t *testing.T) { function TestHandleSMigrated_NoMatchingSource (line 103) | func TestHandleSMigrated_NoMatchingSource(t *testing.T) { function TestHandleSMigrated_IncompleteTriplet (line 133) | func TestHandleSMigrated_IncompleteTriplet(t *testing.T) { function TestHandleSMigrated_TooFewElements (line 162) | func TestHandleSMigrated_TooFewElements(t *testing.T) { function TestHandleSMigrated_EmptyTripletsArray (line 187) | func TestHandleSMigrated_EmptyTripletsArray(t *testing.T) { function TestHandleSMigrated_InvalidTripletsType (line 213) | func TestHandleSMigrated_InvalidTripletsType(t *testing.T) { FILE: maintnotifications/state.go type State (line 4) | type State method String (line 15) | func (s State) String() string { constant StateIdle (line 8) | StateIdle State = iota constant StateMoving (line 11) | StateMoving FILE: monitor_test.go function TestMonitorCommand (line 58) | func TestMonitorCommand(t *testing.T) { function containsSubstring (line 107) | func containsSubstring(s, substr string) bool { FILE: options.go function generateUniqueID (line 30) | func generateUniqueID() string { type Limiter (line 36) | type Limiter interface type Options (line 47) | type Options struct method init (line 316) | func (opt *Options) init() { method clone (line 425) | func (opt *Options) clone() *Options { method NewDialer (line 439) | func (opt *Options) NewDialer() func(context.Context, string, string) ... function NewDialer (line 445) | func NewDialer(opt *Options) func(context.Context, string, string) (net.... function ParseURL (line 495) | func ParseURL(redisURL string) (*Options, error) { function setupTCPConn (line 511) | func setupTCPConn(u *url.URL) (*Options, error) { function getHostPortWithDefaults (line 547) | func getHostPortWithDefaults(u *url.URL) (string, string) { function setupUnixConn (line 561) | func setupUnixConn(u *url.URL) (*Options, error) { type queryOptions (line 574) | type queryOptions struct method has (line 579) | func (o *queryOptions) has(name string) bool { method string (line 583) | func (o *queryOptions) string(name string) string { method strings (line 592) | func (o *queryOptions) strings(name string) []string { method int (line 598) | func (o *queryOptions) int(name string) int { method duration (line 613) | func (o *queryOptions) duration(name string) time.Duration { method bool (line 636) | func (o *queryOptions) bool(name string) bool { method remaining (line 650) | func (o *queryOptions) remaining() []string { function setupConnParams (line 663) | func setupConnParams(u *url.URL, o *Options) (*Options, error) { function getUserPassword (line 718) | func getUserPassword(u *url.URL) (string, string) { function newConnPool (line 729) | func newConnPool( function newPubSubPool (line 779) | func newPubSubPool( FILE: options_test.go function TestParseURL (line 15) | func TestParseURL(t *testing.T) { function comprareOptions (line 160) | func comprareOptions(t *testing.T, actual, expected *Options) { function TestReadTimeoutOptions (line 231) | func TestReadTimeoutOptions(t *testing.T) { function TestProtocolOptions (line 252) | func TestProtocolOptions(t *testing.T) { function TestMaxConcurrentDialsOptions (line 275) | func TestMaxConcurrentDialsOptions(t *testing.T) { function TestClusterOptionsDialerRetries (line 340) | func TestClusterOptionsDialerRetries(t *testing.T) { function TestRingOptionsDialerRetries (line 356) | func TestRingOptionsDialerRetries(t *testing.T) { function TestFailoverOptionsDialerRetries (line 372) | func TestFailoverOptionsDialerRetries(t *testing.T) { function TestOptionsCloneMaintNotificationsRace (line 400) | func TestOptionsCloneMaintNotificationsRace(t *testing.T) { FILE: osscluster.go constant minLatencyMeasurementInterval (line 31) | minLatencyMeasurementInterval = 10 * time.Second type ClusterOptions (line 42) | type ClusterOptions struct method init (line 193) | func (opt *ClusterOptions) init() { method clientOptions (line 409) | func (opt *ClusterOptions) clientOptions() *Options { function ParseClusterURL (line 311) | func ParseClusterURL(redisURL string) (*ClusterOptions, error) { function setupClusterConn (line 334) | func setupClusterConn(u *url.URL, host string, o *ClusterOptions) (*Clus... function setupClusterQueryParams (line 355) | func setupClusterQueryParams(u *url.URL, o *ClusterOptions) (*ClusterOpt... type clusterNode (line 473) | type clusterNode struct method String (line 501) | func (n *clusterNode) String() string { method Close (line 505) | func (n *clusterNode) Close() error { method updateLatency (line 511) | func (n *clusterNode) updateLatency() { method Latency (line 539) | func (n *clusterNode) Latency() time.Duration { method MarkAsFailing (line 544) | func (n *clusterNode) MarkAsFailing() { method Failing (line 549) | func (n *clusterNode) Failing() bool { method Generation (line 563) | func (n *clusterNode) Generation() uint32 { method LastLatencyMeasurement (line 567) | func (n *clusterNode) LastLatencyMeasurement() int64 { method SetGeneration (line 571) | func (n *clusterNode) SetGeneration(gen uint32) { method SetLastLatencyMeasurement (line 580) | func (n *clusterNode) SetLastLatencyMeasurement(t time.Time) { method Loading (line 589) | func (n *clusterNode) Loading() bool { function newClusterNodeWithNodeAddress (line 485) | func newClusterNodeWithNodeAddress(clOpt *ClusterOptions, addr, nodeAddr... constant maximumNodeLatency (line 509) | maximumNodeLatency = 1 * time.Minute type clusterNodes (line 609) | type clusterNodes struct method Close (line 630) | func (c *clusterNodes) Close() error { method OnNewNode (line 652) | func (c *clusterNodes) OnNewNode(fn func(rdb *Client)) { method Addrs (line 658) | func (c *clusterNodes) Addrs() ([]string, error) { method NextGeneration (line 683) | func (c *clusterNodes) NextGeneration() uint32 { method GC (line 688) | func (c *clusterNodes) GC(generation uint32) { method GetOrCreate (line 715) | func (c *clusterNodes) GetOrCreate(addr string) (*clusterNode, error) { method GetOrCreateWithNodeAddress (line 719) | func (c *clusterNodes) GetOrCreateWithNodeAddress(addr, nodeAddress st... method get (line 751) | func (c *clusterNodes) get(addr string) (*clusterNode, error) { method All (line 761) | func (c *clusterNodes) All() ([]*clusterNode, error) { method Random (line 776) | func (c *clusterNodes) Random() (*clusterNode, error) { function newClusterNodes (line 622) | func newClusterNodes(opt *ClusterOptions) *clusterNodes { type clusterSlot (line 788) | type clusterSlot struct type clusterSlotSlice (line 794) | type clusterSlotSlice method Len (line 796) | func (p clusterSlotSlice) Len() int { method Less (line 800) | func (p clusterSlotSlice) Less(i, j int) bool { method Swap (line 804) | func (p clusterSlotSlice) Swap(i, j int) { type clusterState (line 808) | type clusterState struct method slotMasterNode (line 915) | func (c *clusterState) slotMasterNode(slot int) (*clusterNode, error) { method slotSlaveNode (line 923) | func (c *clusterState) slotSlaveNode(slot int) (*clusterNode, error) { method slotClosestNode (line 951) | func (c *clusterState) slotClosestNode(slot int) (*clusterNode, error) { method slotRandomNode (line 994) | func (c *clusterState) slotRandomNode(slot int) (*clusterNode, error) { method slotShardPickerSlaveNode (line 1011) | func (c *clusterState) slotShardPickerSlaveNode(slot int, shardPicker ... method slotNodes (line 1034) | func (c *clusterState) slotNodes(slot int) []*clusterNode { function newClusterState (line 819) | func newClusterState( function replaceLoopbackHost (line 875) | func replaceLoopbackHost(nodeAddr, originHost string) string { function isLoopback (line 898) | func isLoopback(host string) bool { type clusterStateHolder (line 1050) | type clusterStateHolder struct method Reload (line 1066) | func (c *clusterStateHolder) Reload(ctx context.Context) (*clusterStat... method LazyReload (line 1075) | func (c *clusterStateHolder) LazyReload() { method Get (line 1110) | func (c *clusterStateHolder) Get(ctx context.Context) (*clusterState, ... method ReloadOrGet (line 1123) | func (c *clusterStateHolder) ReloadOrGet(ctx context.Context) (*cluste... function newClusterStateHolder (line 1059) | func newClusterStateHolder(load func(ctx context.Context) (*clusterState... type ClusterClient (line 1136) | type ClusterClient struct method Options (line 1194) | func (c *ClusterClient) Options() *ClusterOptions { method ReloadState (line 1200) | func (c *ClusterClient) ReloadState(ctx context.Context) { method Close (line 1208) | func (c *ClusterClient) Close() error { method Process (line 1212) | func (c *ClusterClient) Process(ctx context.Context, cmd Cmder) error { method process (line 1218) | func (c *ClusterClient) process(ctx context.Context, cmd Cmder) error { method OnNewNode (line 1320) | func (c *ClusterClient) OnNewNode(fn func(rdb *Client)) { method ForEachMaster (line 1326) | func (c *ClusterClient) ForEachMaster( method ForEachSlave (line 1364) | func (c *ClusterClient) ForEachSlave( method ForEachShard (line 1402) | func (c *ClusterClient) ForEachShard( method PoolStats (line 1445) | func (c *ClusterClient) PoolStats() *PoolStats { method loadState (line 1478) | func (c *ClusterClient) loadState(ctx context.Context) (*clusterState,... method Pipeline (line 1529) | func (c *ClusterClient) Pipeline() Pipeliner { method Pipelined (line 1537) | func (c *ClusterClient) Pipelined(ctx context.Context, fn func(Pipelin... method processPipeline (line 1541) | func (c *ClusterClient) processPipeline(ctx context.Context, cmds []Cm... method mapCmdsByNode (line 1607) | func (c *ClusterClient) mapCmdsByNode(ctx context.Context, cmdsMap *cm... method cmdsAreReadOnly (line 1676) | func (c *ClusterClient) cmdsAreReadOnly(ctx context.Context, cmds []Cm... method processPipelineNode (line 1686) | func (c *ClusterClient) processPipelineNode( method processPipelineNodeConn (line 1710) | func (c *ClusterClient) processPipelineNodeConn( method pipelineReadCmds (line 1731) | func (c *ClusterClient) pipelineReadCmds( method checkMovedErr (line 1771) | func (c *ClusterClient) checkMovedErr( method TxPipeline (line 1799) | func (c *ClusterClient) TxPipeline() Pipeliner { method TxPipelined (line 1810) | func (c *ClusterClient) TxPipelined(ctx context.Context, fn func(Pipel... method processTxPipeline (line 1814) | func (c *ClusterClient) processTxPipeline(ctx context.Context, cmds []... method slottedKeyedCommands (line 1918) | func (c *ClusterClient) slottedKeyedCommands(ctx context.Context, cmds... method processTxPipelineNode (line 1938) | func (c *ClusterClient) processTxPipelineNode( method processTxPipelineNodeConn (line 1960) | func (c *ClusterClient) processTxPipelineNodeConn( method txPipelineReadQueued (line 1995) | func (c *ClusterClient) txPipelineReadQueued( method cmdsMoved (line 2057) | func (c *ClusterClient) cmdsMoved( method Watch (line 2086) | func (c *ClusterClient) Watch(ctx context.Context, fn func(*Tx) error,... method pubSub (line 2146) | func (c *ClusterClient) pubSub() *PubSub { method Subscribe (line 2214) | func (c *ClusterClient) Subscribe(ctx context.Context, channels ...str... method PSubscribe (line 2224) | func (c *ClusterClient) PSubscribe(ctx context.Context, channels ...st... method SSubscribe (line 2233) | func (c *ClusterClient) SSubscribe(ctx context.Context, channels ...st... method retryBackoff (line 2241) | func (c *ClusterClient) retryBackoff(attempt int) time.Duration { method cmdsInfo (line 2245) | func (c *ClusterClient) cmdsInfo(ctx context.Context) (map[string]*Com... method cmdInfo (line 2288) | func (c *ClusterClient) cmdInfo(ctx context.Context, name string) *Com... method cmdSlot (line 2313) | func (c *ClusterClient) cmdSlot(cmd Cmder, prefferedSlot int) int { method cmdNode (line 2334) | func (c *ClusterClient) cmdNode( method cmdNodeWithShardPicker (line 2353) | func (c *ClusterClient) cmdNodeWithShardPicker( method slotReadOnlyNode (line 2383) | func (c *ClusterClient) slotReadOnlyNode(state *clusterState, slot int... method slotMasterNode (line 2398) | func (c *ClusterClient) slotMasterNode(ctx context.Context, slot int) ... method SlaveForKey (line 2412) | func (c *ClusterClient) SlaveForKey(ctx context.Context, key string) (... method MasterForKey (line 2426) | func (c *ClusterClient) MasterForKey(ctx context.Context, key string) ... method context (line 2435) | func (c *ClusterClient) context(ctx context.Context) context.Context { method GetResolver (line 2442) | func (c *ClusterClient) GetResolver() *commandInfoResolver { method SetCommandInfoResolver (line 2446) | func (c *ClusterClient) SetCommandInfoResolver(cmdInfoResolver *comman... method extractCommandInfo (line 2451) | func (c *ClusterClient) extractCommandInfo(ctx context.Context, cmd Cm... method NewDynamicResolver (line 2461) | func (c *ClusterClient) NewDynamicResolver() *commandInfoResolver { function NewClusterClient (line 1148) | func NewClusterClient(opt *ClusterOptions) *ClusterClient { function cmdSlot (line 2322) | func cmdSlot(cmd Cmder, pos int, prefferedRandomSlot int) int { function appendIfNotExist (line 2467) | func appendIfNotExist[T comparable](vals []T, newVal T) []T { type cmdsMap (line 2478) | type cmdsMap struct method Add (line 2489) | func (m *cmdsMap) Add(node *clusterNode, cmds ...Cmder) { function newCmdsMap (line 2483) | func newCmdsMap() *cmdsMap { FILE: osscluster_commands.go method DBSize (line 9) | func (c *ClusterClient) DBSize(ctx context.Context) *IntCmd { method ScriptLoad (line 31) | func (c *ClusterClient) ScriptLoad(ctx context.Context, script string) *... method ScriptFlush (line 57) | func (c *ClusterClient) ScriptFlush(ctx context.Context) *StatusCmd { method ScriptExists (line 71) | func (c *ClusterClient) ScriptExists(ctx context.Context, hashes ...stri... FILE: osscluster_lazy_reload_test.go function TestLazyReloadQueueBehavior (line 11) | func TestLazyReloadQueueBehavior(t *testing.T) { FILE: osscluster_maintnotifications_test.go type multiNodeProxy (line 21) | type multiNodeProxy struct method start (line 51) | func (mp *multiNodeProxy) start(initialListenPort, targetPort int, tar... method addNode (line 92) | func (mp *multiNodeProxy) addNode(listenPort, targetPort int, targetHo... method getNodes (line 138) | func (mp *multiNodeProxy) getNodes() []proxyNode { method getNodeAddrs (line 143) | func (mp *multiNodeProxy) getNodeAddrs() []string { method stop (line 152) | func (mp *multiNodeProxy) stop() error { method injectNotification (line 160) | func (mp *multiNodeProxy) injectNotification(notification string) error { method injectNotificationToNode (line 177) | func (mp *multiNodeProxy) injectNotificationToNode(nodeAddr string, no... type proxyNode (line 30) | type proxyNode struct function newMultiNodeProxy (line 39) | func newMultiNodeProxy(apiPort int) *multiNodeProxy { function formatSMigratingNotification (line 199) | func formatSMigratingNotification(seqID int64, slots ...string) string { function formatSMigratedNotification (line 231) | func formatSMigratedNotification(seqID int64, triplets ...string) string { function TestClusterMaintNotifications_SMIGRATING (line 264) | func TestClusterMaintNotifications_SMIGRATING(t *testing.T) { function TestClusterMaintNotifications_SMIGRATED (line 325) | func TestClusterMaintNotifications_SMIGRATED(t *testing.T) { function TestClusterMaintNotifications_Deduplication (line 407) | func TestClusterMaintNotifications_Deduplication(t *testing.T) { function TestClusterMaintNotifications_MultiNode (line 488) | func TestClusterMaintNotifications_MultiNode(t *testing.T) { function TestClusterMaintNotifications_ComplexMigration (line 608) | func TestClusterMaintNotifications_ComplexMigration(t *testing.T) { FILE: osscluster_maintnotifications_unit_test.go function TestClusterMaintNotifications_CallbackSetup (line 14) | func TestClusterMaintNotifications_CallbackSetup(t *testing.T) { function TestClusterMaintNotifications_SMigratingHandler (line 53) | func TestClusterMaintNotifications_SMigratingHandler(t *testing.T) { function TestClusterMaintNotifications_SMigratedHandler (line 102) | func TestClusterMaintNotifications_SMigratedHandler(t *testing.T) { function TestClusterMaintNotifications_DeduplicationLogic (line 181) | func TestClusterMaintNotifications_DeduplicationLogic(t *testing.T) { function TestClusterMaintNotifications_NotificationTypes (line 213) | func TestClusterMaintNotifications_NotificationTypes(t *testing.T) { function TestClusterMaintNotifications_ConfigValidation (line 241) | func TestClusterMaintNotifications_ConfigValidation(t *testing.T) { function TestClusterMaintNotifications_StateReloadCallback (line 271) | func TestClusterMaintNotifications_StateReloadCallback(t *testing.T) { function TestClusterMaintNotifications_ConcurrentCallbacks (line 313) | func TestClusterMaintNotifications_ConcurrentCallbacks(t *testing.T) { FILE: osscluster_router.go type slotResult (line 24) | type slotResult struct method routeAndRun (line 31) | func (c *ClusterClient) routeAndRun(ctx context.Context, cmd Cmder, node... method executeDefault (line 62) | func (c *ClusterClient) executeDefault(ctx context.Context, cmd Cmder, p... method executeOnArbitraryNode (line 73) | func (c *ClusterClient) executeOnArbitraryNode(ctx context.Context, cmd ... method executeOnAllNodes (line 82) | func (c *ClusterClient) executeOnAllNodes(ctx context.Context, cmd Cmder... method executeOnAllShards (line 97) | func (c *ClusterClient) executeOnAllShards(ctx context.Context, cmd Cmde... method executeMultiShard (line 111) | func (c *ClusterClient) executeMultiShard(ctx context.Context, cmd Cmder... method executeMultiSlot (line 148) | func (c *ClusterClient) executeMultiSlot(ctx context.Context, cmd Cmder,... method createSlotSpecificCommand (line 180) | func (c *ClusterClient) createSlotSpecificCommand(ctx context.Context, o... function createCommandByType (line 200) | func createCommandByType(ctx context.Context, cmdType CmdType, args ...i... method executeSpecialCommand (line 277) | func (c *ClusterClient) executeSpecialCommand(ctx context.Context, cmd C... method executeCursorCommand (line 287) | func (c *ClusterClient) executeCursorCommand(ctx context.Context, cmd Cm... method executeParallel (line 309) | func (c *ClusterClient) executeParallel(ctx context.Context, cmd Cmder, ... method aggregateMultiSlotResults (line 362) | func (c *ClusterClient) aggregateMultiSlotResults(ctx context.Context, c... method aggregateKeyedValues (line 401) | func (c *ClusterClient) aggregateKeyedValues(cmd Cmder, keyedResults map... method aggregateResponses (line 426) | func (c *ClusterClient) aggregateResponses(cmd Cmder, cmds []Cmder, poli... method createAggregator (line 462) | func (c *ClusterClient) createAggregator(policy *routing.CommandPolicy, ... method finishAggregation (line 476) | func (c *ClusterClient) finishAggregation(cmd Cmder, aggregator routing.... method pickArbitraryNode (line 487) | func (c *ClusterClient) pickArbitraryNode(ctx context.Context) *clusterN... method hasKeys (line 500) | func (c *ClusterClient) hasKeys(cmd Cmder) bool { method readOnlyEnabled (line 505) | func (c *ClusterClient) readOnlyEnabled() bool { method setCommandValue (line 510) | func (c *ClusterClient) setCommandValue(cmd Cmder, value interface{}) er... method setCommandValueReflection (line 955) | func (c *ClusterClient) setCommandValueReflection(cmd Cmder, value inter... FILE: osscluster_test.go type clusterScenario (line 22) | type clusterScenario struct method slots (line 28) | func (s *clusterScenario) slots() []int { method masters (line 32) | func (s *clusterScenario) masters() []*redis.Client { method slaves (line 40) | func (s *clusterScenario) slaves() []*redis.Client { method addrs (line 48) | func (s *clusterScenario) addrs() []string { method newClusterClientUnstable (line 56) | func (s *clusterScenario) newClusterClientUnstable(opt *redis.ClusterO... method newClusterClient (line 61) | func (s *clusterScenario) newClusterClient( method Close (line 89) | func (s *clusterScenario) Close() error { function configureClusterTopology (line 110) | func configureClusterTopology(ctx context.Context, scenario *clusterScen... function collectNodeInformation (line 211) | func collectNodeInformation(ctx context.Context, scenario *clusterScenar... function assertSlotsEqual (line 228) | func assertSlotsEqual(slots, wanted []redis.ClusterSlot) error { function slotEqual (line 241) | func slotEqual(s1, s2 redis.ClusterSlot) bool { FILE: otel.go type ConnInfo (line 13) | type ConnInfo interface type Pooler (line 18) | type Pooler interface type PubSubPooler (line 22) | type PubSubPooler interface type OTelRecorder (line 28) | type OTelRecorder interface type OTelPoolRegistrar (line 83) | type OTelPoolRegistrar interface function SetOTelRecorder (line 97) | func SetOTelRecorder(r OTelRecorder) { type otelRecorderAdapter (line 105) | type otelRecorderAdapter struct method RecordOperationDuration (line 119) | func (a *otelRecorderAdapter) RecordOperationDuration(ctx context.Cont... method RecordPipelineOperationDuration (line 126) | func (a *otelRecorderAdapter) RecordPipelineOperationDuration(ctx cont... method RecordConnectionCreateTime (line 130) | func (a *otelRecorderAdapter) RecordConnectionCreateTime(ctx context.C... method RecordConnectionRelaxedTimeout (line 134) | func (a *otelRecorderAdapter) RecordConnectionRelaxedTimeout(ctx conte... method RecordConnectionHandoff (line 138) | func (a *otelRecorderAdapter) RecordConnectionHandoff(ctx context.Cont... method RecordError (line 142) | func (a *otelRecorderAdapter) RecordError(ctx context.Context, errorTy... method RecordMaintenanceNotification (line 146) | func (a *otelRecorderAdapter) RecordMaintenanceNotification(ctx contex... method RecordConnectionWaitTime (line 150) | func (a *otelRecorderAdapter) RecordConnectionWaitTime(ctx context.Con... method RecordConnectionClosed (line 154) | func (a *otelRecorderAdapter) RecordConnectionClosed(ctx context.Conte... method RecordPubSubMessage (line 158) | func (a *otelRecorderAdapter) RecordPubSubMessage(ctx context.Context,... method RecordStreamLag (line 162) | func (a *otelRecorderAdapter) RecordStreamLag(ctx context.Context, lag... method RegisterPool (line 166) | func (a *otelRecorderAdapter) RegisterPool(poolName string, p pool.Poo... method UnregisterPool (line 172) | func (a *otelRecorderAdapter) UnregisterPool(p pool.Pooler) { method RegisterPubSubPool (line 178) | func (a *otelRecorderAdapter) RegisterPubSubPool(poolName string, p ot... method UnregisterPubSubPool (line 184) | func (a *otelRecorderAdapter) UnregisterPubSubPool(p otel.PubSubPooler) { function toConnInfo (line 112) | func toConnInfo(cn *pool.Conn) ConnInfo { type poolerAdapter (line 190) | type poolerAdapter struct method PoolStats (line 194) | func (a *poolerAdapter) PoolStats() *pool.Stats { type pubSubPoolerAdapter (line 198) | type pubSubPoolerAdapter struct method Stats (line 202) | func (a *pubSubPoolerAdapter) Stats() *pool.PubSubStats { FILE: pipeline.go type pipelineExecer (line 8) | type pipelineExecer type Pipeliner (line 23) | type Pipeliner interface type Pipeline (line 54) | type Pipeline struct method init (line 62) | func (c *Pipeline) init() { method Len (line 68) | func (c *Pipeline) Len() int { method Do (line 73) | func (c *Pipeline) Do(ctx context.Context, args ...interface{}) *Cmd { method Process (line 84) | func (c *Pipeline) Process(ctx context.Context, cmd Cmder) error { method BatchProcess (line 89) | func (c *Pipeline) BatchProcess(ctx context.Context, cmd ...Cmder) err... method Discard (line 95) | func (c *Pipeline) Discard() { method Exec (line 104) | func (c *Pipeline) Exec(ctx context.Context) ([]Cmder, error) { method Pipelined (line 115) | func (c *Pipeline) Pipelined(ctx context.Context, fn func(Pipeliner) e... method Pipeline (line 122) | func (c *Pipeline) Pipeline() Pipeliner { method TxPipelined (line 126) | func (c *Pipeline) TxPipelined(ctx context.Context, fn func(Pipeliner)... method TxPipeline (line 130) | func (c *Pipeline) TxPipeline() Pipeliner { method Cmds (line 134) | func (c *Pipeline) Cmds() []Cmder { FILE: pool_pubsub_bench_test.go function dummyDialer (line 42) | func dummyDialer(ctx context.Context) (net.Conn, error) { type dummyConn (line 47) | type dummyConn struct method Read (line 49) | func (c *dummyConn) Read(b []byte) (n int, err error) { return len(b)... method Write (line 50) | func (c *dummyConn) Write(b []byte) (n int, err error) { return len(b)... method Close (line 51) | func (c *dummyConn) Close() error { return nil } method LocalAddr (line 52) | func (c *dummyConn) LocalAddr() net.Addr { return &net.T... method RemoteAddr (line 53) | func (c *dummyConn) RemoteAddr() net.Addr { method SetDeadline (line 56) | func (c *dummyConn) SetDeadline(t time.Time) error { return nil } method SetReadDeadline (line 57) | func (c *dummyConn) SetReadDeadline(t time.Time) error { return nil } method SetWriteDeadline (line 58) | func (c *dummyConn) SetWriteDeadline(t time.Time) error { return nil } function BenchmarkPoolGetPut (line 65) | func BenchmarkPoolGetPut(b *testing.B) { function BenchmarkPoolGetPutWithMinIdle (line 100) | func BenchmarkPoolGetPutWithMinIdle(b *testing.B) { function BenchmarkPoolConcurrentGetPut (line 143) | func BenchmarkPoolConcurrentGetPut(b *testing.B) { function benchmarkClient (line 184) | func benchmarkClient(poolSize int) *redis.Client { function BenchmarkPubSubCreation (line 196) | func BenchmarkPubSubCreation(b *testing.B) { function BenchmarkPubSubPatternCreation (line 218) | func BenchmarkPubSubPatternCreation(b *testing.B) { function BenchmarkPubSubConcurrentCreation (line 240) | func BenchmarkPubSubConcurrentCreation(b *testing.B) { function BenchmarkPubSubMultipleChannels (line 274) | func BenchmarkPubSubMultipleChannels(b *testing.B) { function BenchmarkPubSubReuse (line 301) | func BenchmarkPubSubReuse(b *testing.B) { function BenchmarkPoolAndPubSubMixed (line 322) | func BenchmarkPoolAndPubSubMixed(b *testing.B) { function BenchmarkPoolStatsCollection (line 349) | func BenchmarkPoolStatsCollection(b *testing.B) { function BenchmarkPoolHighContention (line 363) | func BenchmarkPoolHighContention(b *testing.B) { FILE: probabilistic.go type ProbabilisticCmdable (line 10) | type ProbabilisticCmdable interface type BFInsertOptions (line 83) | type BFInsertOptions struct type BFReserveOptions (line 91) | type BFReserveOptions struct type CFReserveOptions (line 98) | type CFReserveOptions struct type CFInsertOptions (line 105) | type CFInsertOptions struct method BFReserve (line 117) | func (c cmdable) BFReserve(ctx context.Context, key string, errorRate fl... method BFReserveExpansion (line 128) | func (c cmdable) BFReserveExpansion(ctx context.Context, key string, err... method BFReserveNonScaling (line 139) | func (c cmdable) BFReserveNonScaling(ctx context.Context, key string, er... method BFReserveWithArgs (line 150) | func (c cmdable) BFReserveWithArgs(ctx context.Context, key string, opti... method BFAdd (line 168) | func (c cmdable) BFAdd(ctx context.Context, key string, element interfac... method BFCard (line 179) | func (c cmdable) BFCard(ctx context.Context, key string) *IntCmd { method BFExists (line 188) | func (c cmdable) BFExists(ctx context.Context, key string, element inter... method BFLoadChunk (line 197) | func (c cmdable) BFLoadChunk(ctx context.Context, key string, iterator i... method BFScanDump (line 207) | func (c cmdable) BFScanDump(ctx context.Context, key string, iterator in... type ScanDump (line 214) | type ScanDump struct type ScanDumpCmd (line 219) | type ScanDumpCmd struct method String (line 235) | func (cmd *ScanDumpCmd) String() string { method SetVal (line 239) | func (cmd *ScanDumpCmd) SetVal(val ScanDump) { method Result (line 243) | func (cmd *ScanDumpCmd) Result() (ScanDump, error) { method Val (line 247) | func (cmd *ScanDumpCmd) Val() ScanDump { method readReply (line 251) | func (cmd *ScanDumpCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 274) | func (cmd *ScanDumpCmd) Clone() Cmder { function newScanDumpCmd (line 225) | func newScanDumpCmd(ctx context.Context, args ...interface{}) *ScanDumpC... method BFInfo (line 283) | func (c cmdable) BFInfo(ctx context.Context, key string) *BFInfoCmd { type BFInfo (line 290) | type BFInfo struct type BFInfoCmd (line 298) | type BFInfoCmd struct method SetVal (line 314) | func (cmd *BFInfoCmd) SetVal(val BFInfo) { method String (line 318) | func (cmd *BFInfoCmd) String() string { method Val (line 322) | func (cmd *BFInfoCmd) Val() BFInfo { method Result (line 326) | func (cmd *BFInfoCmd) Result() (BFInfo, error) { method readReply (line 330) | func (cmd *BFInfoCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 400) | func (cmd *BFInfoCmd) Clone() Cmder { function NewBFInfoCmd (line 304) | func NewBFInfoCmd(ctx context.Context, args ...interface{}) *BFInfoCmd { method BFInfoCapacity (line 409) | func (c cmdable) BFInfoCapacity(ctx context.Context, key string) *BFInfo... method BFInfoSize (line 415) | func (c cmdable) BFInfoSize(ctx context.Context, key string) *BFInfoCmd { method BFInfoFilters (line 421) | func (c cmdable) BFInfoFilters(ctx context.Context, key string) *BFInfoC... method BFInfoItems (line 427) | func (c cmdable) BFInfoItems(ctx context.Context, key string) *BFInfoCmd { method BFInfoExpansion (line 433) | func (c cmdable) BFInfoExpansion(ctx context.Context, key string) *BFInf... method BFInfoArg (line 439) | func (c cmdable) BFInfoArg(ctx context.Context, key, option string) *BFI... method BFInsert (line 450) | func (c cmdable) BFInsert(ctx context.Context, key string, options *BFIn... method BFMAdd (line 480) | func (c cmdable) BFMAdd(ctx context.Context, key string, elements ...int... method BFMExists (line 491) | func (c cmdable) BFMExists(ctx context.Context, key string, elements ...... method CFReserve (line 506) | func (c cmdable) CFReserve(ctx context.Context, key string, capacity int... method CFReserveExpansion (line 515) | func (c cmdable) CFReserveExpansion(ctx context.Context, key string, cap... method CFReserveBucketSize (line 524) | func (c cmdable) CFReserveBucketSize(ctx context.Context, key string, ca... method CFReserveMaxIterations (line 533) | func (c cmdable) CFReserveMaxIterations(ctx context.Context, key string,... method CFReserveWithArgs (line 543) | func (c cmdable) CFReserveWithArgs(ctx context.Context, key string, opti... method CFAdd (line 562) | func (c cmdable) CFAdd(ctx context.Context, key string, element interfac... method CFAddNX (line 572) | func (c cmdable) CFAddNX(ctx context.Context, key string, element interf... method CFCount (line 581) | func (c cmdable) CFCount(ctx context.Context, key string, element interf... method CFDel (line 590) | func (c cmdable) CFDel(ctx context.Context, key string, element interfac... method CFExists (line 599) | func (c cmdable) CFExists(ctx context.Context, key string, element inter... method CFLoadChunk (line 608) | func (c cmdable) CFLoadChunk(ctx context.Context, key string, iterator i... method CFScanDump (line 617) | func (c cmdable) CFScanDump(ctx context.Context, key string, iterator in... type CFInfo (line 624) | type CFInfo struct type CFInfoCmd (line 635) | type CFInfoCmd struct method SetVal (line 651) | func (cmd *CFInfoCmd) SetVal(val CFInfo) { method String (line 655) | func (cmd *CFInfoCmd) String() string { method Val (line 659) | func (cmd *CFInfoCmd) Val() CFInfo { method Result (line 663) | func (cmd *CFInfoCmd) Result() (CFInfo, error) { method readReply (line 667) | func (cmd *CFInfoCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 712) | func (cmd *CFInfoCmd) Clone() Cmder { function NewCFInfoCmd (line 641) | func NewCFInfoCmd(ctx context.Context, args ...interface{}) *CFInfoCmd { method CFInfo (line 721) | func (c cmdable) CFInfo(ctx context.Context, key string) *CFInfoCmd { method CFInsert (line 732) | func (c cmdable) CFInsert(ctx context.Context, key string, options *CFIn... method CFInsertNX (line 746) | func (c cmdable) CFInsertNX(ctx context.Context, key string, options *CF... method getCfInsertWithArgs (line 755) | func (c cmdable) getCfInsertWithArgs(args []interface{}, options *CFInse... method CFMExists (line 773) | func (c cmdable) CFMExists(ctx context.Context, key string, elements ...... method CMSIncrBy (line 788) | func (c cmdable) CMSIncrBy(ctx context.Context, key string, elements ...... type CMSInfo (line 799) | type CMSInfo struct type CMSInfoCmd (line 805) | type CMSInfoCmd struct method SetVal (line 821) | func (cmd *CMSInfoCmd) SetVal(val CMSInfo) { method String (line 825) | func (cmd *CMSInfoCmd) String() string { method Val (line 829) | func (cmd *CMSInfoCmd) Val() CMSInfo { method Result (line 833) | func (cmd *CMSInfoCmd) Result() (CMSInfo, error) { method readReply (line 837) | func (cmd *CMSInfoCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 871) | func (cmd *CMSInfoCmd) Clone() Cmder { function NewCMSInfoCmd (line 811) | func NewCMSInfoCmd(ctx context.Context, args ...interface{}) *CMSInfoCmd { method CMSInfo (line 880) | func (c cmdable) CMSInfo(ctx context.Context, key string) *CMSInfoCmd { method CMSInitByDim (line 889) | func (c cmdable) CMSInitByDim(ctx context.Context, key string, width, de... method CMSInitByProb (line 898) | func (c cmdable) CMSInitByProb(ctx context.Context, key string, errorRat... method CMSMerge (line 910) | func (c cmdable) CMSMerge(ctx context.Context, destKey string, sourceKey... method CMSMergeWithWeight (line 925) | func (c cmdable) CMSMergeWithWeight(ctx context.Context, destKey string,... method CMSQuery (line 952) | func (c cmdable) CMSQuery(ctx context.Context, key string, elements ...i... method TopKAdd (line 967) | func (c cmdable) TopKAdd(ctx context.Context, key string, elements ...in... method TopKReserve (line 980) | func (c cmdable) TopKReserve(ctx context.Context, key string, k int64) *... method TopKReserveWithOptions (line 991) | func (c cmdable) TopKReserveWithOptions(ctx context.Context, key string,... type TopKInfo (line 999) | type TopKInfo struct type TopKInfoCmd (line 1006) | type TopKInfoCmd struct method SetVal (line 1022) | func (cmd *TopKInfoCmd) SetVal(val TopKInfo) { method String (line 1026) | func (cmd *TopKInfoCmd) String() string { method Val (line 1030) | func (cmd *TopKInfoCmd) Val() TopKInfo { method Result (line 1034) | func (cmd *TopKInfoCmd) Result() (TopKInfo, error) { method readReply (line 1038) | func (cmd *TopKInfoCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 1074) | func (cmd *TopKInfoCmd) Clone() Cmder { function NewTopKInfoCmd (line 1012) | func NewTopKInfoCmd(ctx context.Context, args ...interface{}) *TopKInfoC... method TopKInfo (line 1083) | func (c cmdable) TopKInfo(ctx context.Context, key string) *TopKInfoCmd { method TopKQuery (line 1094) | func (c cmdable) TopKQuery(ctx context.Context, key string, elements ...... method TopKCount (line 1107) | func (c cmdable) TopKCount(ctx context.Context, key string, elements ...... method TopKIncrBy (line 1120) | func (c cmdable) TopKIncrBy(ctx context.Context, key string, elements ..... method TopKList (line 1133) | func (c cmdable) TopKList(ctx context.Context, key string) *StringSliceC... method TopKListWithCount (line 1143) | func (c cmdable) TopKListWithCount(ctx context.Context, key string) *Map... method TDigestAdd (line 1158) | func (c cmdable) TDigestAdd(ctx context.Context, key string, elements ..... method TDigestByRank (line 1176) | func (c cmdable) TDigestByRank(ctx context.Context, key string, rank ...... method TDigestByRevRank (line 1194) | func (c cmdable) TDigestByRevRank(ctx context.Context, key string, rank ... method TDigestCDF (line 1212) | func (c cmdable) TDigestCDF(ctx context.Context, key string, elements ..... method TDigestCreate (line 1229) | func (c cmdable) TDigestCreate(ctx context.Context, key string) *StatusC... method TDigestCreateWithCompression (line 1241) | func (c cmdable) TDigestCreateWithCompression(ctx context.Context, key s... type TDigestInfo (line 1249) | type TDigestInfo struct type TDigestInfoCmd (line 1261) | type TDigestInfoCmd struct method SetVal (line 1277) | func (cmd *TDigestInfoCmd) SetVal(val TDigestInfo) { method String (line 1281) | func (cmd *TDigestInfoCmd) String() string { method Val (line 1285) | func (cmd *TDigestInfoCmd) Val() TDigestInfo { method Result (line 1289) | func (cmd *TDigestInfoCmd) Result() (TDigestInfo, error) { method readReply (line 1293) | func (cmd *TDigestInfoCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 1339) | func (cmd *TDigestInfoCmd) Clone() Cmder { function NewTDigestInfoCmd (line 1267) | func NewTDigestInfoCmd(ctx context.Context, args ...interface{}) *TDiges... method TDigestInfo (line 1348) | func (c cmdable) TDigestInfo(ctx context.Context, key string) *TDigestIn... method TDigestMax (line 1358) | func (c cmdable) TDigestMax(ctx context.Context, key string) *FloatCmd { type TDigestMergeOptions (line 1366) | type TDigestMergeOptions struct method TDigestMerge (line 1375) | func (c cmdable) TDigestMerge(ctx context.Context, destKey string, optio... method TDigestMin (line 1398) | func (c cmdable) TDigestMin(ctx context.Context, key string) *FloatCmd { method TDigestQuantile (line 1410) | func (c cmdable) TDigestQuantile(ctx context.Context, key string, elemen... method TDigestRank (line 1428) | func (c cmdable) TDigestRank(ctx context.Context, key string, values ...... method TDigestReset (line 1445) | func (c cmdable) TDigestReset(ctx context.Context, key string) *StatusCmd { method TDigestRevRank (line 1457) | func (c cmdable) TDigestRevRank(ctx context.Context, key string, values ... method TDigestTrimmedMean (line 1475) | func (c cmdable) TDigestTrimmedMean(ctx context.Context, key string, low... FILE: pubsub.go type PubSub (line 23) | type PubSub struct method init (line 51) | func (c *PubSub) init() { method String (line 55) | func (c *PubSub) String() string { method connWithLock (line 65) | func (c *PubSub) connWithLock(ctx context.Context) (*pool.Conn, error) { method conn (line 72) | func (c *PubSub) conn(ctx context.Context, newChannels []string) (*poo... method writeCmd (line 105) | func (c *PubSub) writeCmd(ctx context.Context, cn *pool.Conn, cmd Cmde... method resubscribe (line 111) | func (c *PubSub) resubscribe(ctx context.Context, cn *pool.Conn) error { method _subscribe (line 145) | func (c *PubSub) _subscribe( method releaseConnWithLock (line 157) | func (c *PubSub) releaseConnWithLock( method releaseConn (line 168) | func (c *PubSub) releaseConn(ctx context.Context, cn *pool.Conn, err e... method reconnect (line 182) | func (c *PubSub) reconnect(ctx context.Context, reason error) { method closeTheCn (line 201) | func (c *PubSub) closeTheCn(reason error) error { method Close (line 210) | func (c *PubSub) Close() error { method Subscribe (line 230) | func (c *PubSub) Subscribe(ctx context.Context, channels ...string) er... method PSubscribe (line 246) | func (c *PubSub) PSubscribe(ctx context.Context, patterns ...string) e... method SSubscribe (line 261) | func (c *PubSub) SSubscribe(ctx context.Context, channels ...string) e... method Unsubscribe (line 277) | func (c *PubSub) Unsubscribe(ctx context.Context, channels ...string) ... method PUnsubscribe (line 298) | func (c *PubSub) PUnsubscribe(ctx context.Context, patterns ...string)... method SUnsubscribe (line 319) | func (c *PubSub) SUnsubscribe(ctx context.Context, channels ...string)... method subscribe (line 338) | func (c *PubSub) subscribe(ctx context.Context, redisCmd string, chann... method Ping (line 349) | func (c *PubSub) Ping(ctx context.Context, payload ...string) error { method ClientSetName (line 372) | func (c *PubSub) ClientSetName(ctx context.Context, name string) error { method newMessage (line 426) | func (c *PubSub) newMessage(ctx context.Context, cn *pool.Conn, reply ... method ReceiveTimeout (line 494) | func (c *PubSub) ReceiveTimeout(ctx context.Context, timeout time.Dura... method Receive (line 532) | func (c *PubSub) Receive(ctx context.Context) (interface{}, error) { method ReceiveMessage (line 539) | func (c *PubSub) ReceiveMessage(ctx context.Context) (*Message, error) { method getContext (line 560) | func (c *PubSub) getContext() context.Context { method Channel (line 576) | func (c *PubSub) Channel(opts ...ChannelOption) <-chan *Message { method ChannelSize (line 592) | func (c *PubSub) ChannelSize(size int) <-chan *Message { method ChannelWithSubscriptions (line 601) | func (c *PubSub) ChannelWithSubscriptions(opts ...ChannelOption) <-cha... method processPendingPushNotificationWithReader (line 613) | func (c *PubSub) processPendingPushNotificationWithReader(ctx context.... method pushNotificationHandlerContext (line 624) | func (c *PubSub) pushNotificationHandlerContext(cn *pool.Conn) push.No... function mapKeys (line 135) | func mapKeys(m map[string]struct{}) []string { type Subscription (line 389) | type Subscription struct method String (line 398) | func (m *Subscription) String() string { type Message (line 403) | type Message struct method String (line 410) | func (m *Message) String() string { type Pong (line 415) | type Pong struct method String (line 419) | func (p *Pong) String() string { type ChannelOption (line 634) | type ChannelOption function WithChannelSize (line 639) | func WithChannelSize(size int) ChannelOption { function WithChannelHealthCheckInterval (line 650) | func WithChannelHealthCheckInterval(d time.Duration) ChannelOption { function WithChannelSendTimeout (line 660) | func WithChannelSendTimeout(d time.Duration) ChannelOption { type channel (line 666) | type channel struct method initHealthCheck (line 695) | func (c *channel) initHealthCheck() { method initMsgChan (line 724) | func (c *channel) initMsgChan() { method initAllChan (line 780) | func (c *channel) initAllChan() { function newChannel (line 678) | func newChannel(pubSub *PubSub, opts ...ChannelOption) *channel { FILE: pubsub_commands.go type PubSubCmdable (line 9) | type PubSubCmdable interface method Publish (line 20) | func (c cmdable) Publish(ctx context.Context, channel string, message in... method SPublish (line 30) | func (c cmdable) SPublish(ctx context.Context, channel string, message i... method PubSubChannels (line 40) | func (c cmdable) PubSubChannels(ctx context.Context, pattern string) *St... method PubSubNumSub (line 50) | func (c cmdable) PubSubNumSub(ctx context.Context, channels ...string) *... method PubSubShardChannels (line 62) | func (c cmdable) PubSubShardChannels(ctx context.Context, pattern string... method PubSubShardNumSub (line 72) | func (c cmdable) PubSubShardNumSub(ctx context.Context, channels ...stri... method PubSubNumPat (line 84) | func (c cmdable) PubSubNumPat(ctx context.Context) *IntCmd { FILE: push/errors.go constant ReasonHandlerNil (line 14) | ReasonHandlerNil = "handler cannot be nil" constant ReasonHandlerExists (line 15) | ReasonHandlerExists = "cannot overwrite existing handler" constant ReasonHandlerProtected (line 16) | ReasonHandlerProtected = "handler is protected" constant ReasonPushNotificationsDisabled (line 19) | ReasonPushNotificationsDisabled = "push notifications are disabled" type ProcessorType (line 24) | type ProcessorType constant ProcessorTypeProcessor (line 28) | ProcessorTypeProcessor = ProcessorType("processor") constant ProcessorTypeVoidProcessor (line 29) | ProcessorTypeVoidProcessor = ProcessorType("void_processor") constant ProcessorTypeCustom (line 30) | ProcessorTypeCustom = ProcessorType("custom") type ProcessorOperation (line 35) | type ProcessorOperation constant ProcessorOperationProcess (line 39) | ProcessorOperationProcess = ProcessorOperation("process") constant ProcessorOperationRegister (line 40) | ProcessorOperationRegister = ProcessorOperation("register") constant ProcessorOperationUnregister (line 41) | ProcessorOperationUnregister = ProcessorOperation("unregister") constant ProcessorOperationUnknown (line 42) | ProcessorOperationUnknown = ProcessorOperation("unknown") function ErrHandlerExists (line 54) | func ErrHandlerExists(pushNotificationName string) error { function ErrProtectedHandler (line 59) | func ErrProtectedHandler(pushNotificationName string) error { function ErrVoidProcessorRegister (line 66) | func ErrVoidProcessorRegister(pushNotificationName string) error { function ErrVoidProcessorUnregister (line 71) | func ErrVoidProcessorUnregister(pushNotificationName string) error { type HandlerError (line 78) | type HandlerError struct method Error (line 85) | func (e *HandlerError) Error() string { method Unwrap (line 92) | func (e *HandlerError) Unwrap() error { function NewHandlerError (line 97) | func NewHandlerError(operation ProcessorOperation, pushNotificationName,... type ProcessorError (line 107) | type ProcessorError struct method Error (line 115) | func (e *ProcessorError) Error() string { method Unwrap (line 126) | func (e *ProcessorError) Unwrap() error { function NewProcessorError (line 131) | func NewProcessorError(processorType ProcessorType, operation ProcessorO... function IsHandlerNilError (line 144) | func IsHandlerNilError(err error) bool { function IsHandlerExistsError (line 150) | func IsHandlerExistsError(err error) bool { function IsProtectedHandlerError (line 160) | func IsProtectedHandlerError(err error) bool { function IsVoidProcessorError (line 170) | func IsVoidProcessorError(err error) bool { FILE: push/handler.go type NotificationHandler (line 8) | type NotificationHandler interface FILE: push/handler_context.go type NotificationHandlerContext (line 8) | type NotificationHandlerContext struct FILE: push/processor.go type NotificationProcessor (line 11) | type NotificationProcessor interface type Processor (line 25) | type Processor struct method GetHandler (line 37) | func (p *Processor) GetHandler(pushNotificationName string) Notificati... method RegisterHandler (line 42) | func (p *Processor) RegisterHandler(pushNotificationName string, handl... method UnregisterHandler (line 47) | func (p *Processor) UnregisterHandler(pushNotificationName string) err... method ProcessPendingNotifications (line 54) | func (p *Processor) ProcessPendingNotifications(ctx context.Context, h... function NewProcessor (line 30) | func NewProcessor() *Processor { type VoidProcessor (line 116) | type VoidProcessor struct method GetHandler (line 124) | func (v *VoidProcessor) GetHandler(_ string) NotificationHandler { method RegisterHandler (line 129) | func (v *VoidProcessor) RegisterHandler(pushNotificationName string, _... method UnregisterHandler (line 134) | func (v *VoidProcessor) UnregisterHandler(pushNotificationName string)... method ProcessPendingNotifications (line 146) | func (v *VoidProcessor) ProcessPendingNotifications(_ context.Context,... function NewVoidProcessor (line 119) | func NewVoidProcessor() *VoidProcessor { function willHandleNotificationInClient (line 187) | func willHandleNotificationInClient(notificationType string) bool { FILE: push/processor_unit_test.go function TestProcessorCreation (line 10) | func TestProcessorCreation(t *testing.T) { function TestProcessorHandlerManagement (line 30) | func TestProcessorHandlerManagement(t *testing.T) { function TestVoidProcessorBehavior (line 96) | func TestVoidProcessorBehavior(t *testing.T) { function TestProcessPendingNotificationsNilReader (line 133) | func TestProcessPendingNotificationsNilReader(t *testing.T) { function TestWillHandleNotificationInClient (line 158) | func TestWillHandleNotificationInClient(t *testing.T) { function TestProcessorErrorHandlingUnit (line 197) | func TestProcessorErrorHandlingUnit(t *testing.T) { function TestProcessorConcurrentAccess (line 244) | func TestProcessorConcurrentAccess(t *testing.T) { function TestProcessorInterfaceCompliance (line 275) | func TestProcessorInterfaceCompliance(t *testing.T) { type UnitTestHandler (line 286) | type UnitTestHandler struct method HandlePushNotification (line 293) | func (h *UnitTestHandler) HandlePushNotification(ctx context.Context, ... method GetCallCount (line 300) | func (h *UnitTestHandler) GetCallCount() int { method GetLastNotification (line 304) | func (h *UnitTestHandler) GetLastNotification() []interface{} { method SetErrorToReturn (line 308) | func (h *UnitTestHandler) SetErrorToReturn(err error) { method Reset (line 312) | func (h *UnitTestHandler) Reset() { function TestErrorWrapping (line 319) | func TestErrorWrapping(t *testing.T) { FILE: push/push_test.go type TestHandler (line 18) | type TestHandler struct method HandlePushNotification (line 43) | func (h *TestHandler) HandlePushNotification(ctx context.Context, hand... method GetHandledNotifications (line 48) | func (h *TestHandler) GetHandledNotifications() [][]interface{} { method SetReturnError (line 52) | func (h *TestHandler) SetReturnError(err error) { method Reset (line 56) | func (h *TestHandler) Reset() { function NewTestHandler (line 24) | func NewTestHandler(name string) *TestHandler { type MockNetConn (line 32) | type MockNetConn struct method Read (line 34) | func (m *MockNetConn) Read(b []byte) (n int, err error) { return 0, ... method Write (line 35) | func (m *MockNetConn) Write(b []byte) (n int, err error) { return len... method Close (line 36) | func (m *MockNetConn) Close() error { return nil } method LocalAddr (line 37) | func (m *MockNetConn) LocalAddr() net.Addr { return nil } method RemoteAddr (line 38) | func (m *MockNetConn) RemoteAddr() net.Addr { return nil } method SetDeadline (line 39) | func (m *MockNetConn) SetDeadline(t time.Time) error { return nil } method SetReadDeadline (line 40) | func (m *MockNetConn) SetReadDeadline(t time.Time) error { return nil } method SetWriteDeadline (line 41) | func (m *MockNetConn) SetWriteDeadline(t time.Time) error { return nil } type MockClient (line 62) | type MockClient struct type MockConnPool (line 66) | type MockConnPool struct type MockPubSub (line 70) | type MockPubSub struct function TestNotificationHandlerContext (line 75) | func TestNotificationHandlerContext(t *testing.T) { function TestRegistry (line 143) | func TestRegistry(t *testing.T) { function TestProcessor (line 406) | func TestProcessor(t *testing.T) { function TestVoidProcessor (line 469) | func TestVoidProcessor(t *testing.T) { function TestShouldSkipNotification (line 535) | func TestShouldSkipNotification(t *testing.T) { function TestNotificationHandlerInterface (line 574) | func TestNotificationHandlerInterface(t *testing.T) { function TestNotificationHandlerError (line 604) | func TestNotificationHandlerError(t *testing.T) { function TestRegistryConcurrency (line 633) | func TestRegistryConcurrency(t *testing.T) { function TestProcessorConcurrency (line 666) | func TestProcessorConcurrency(t *testing.T) { function TestRegistryEdgeCases (line 699) | func TestRegistryEdgeCases(t *testing.T) { function TestProcessorEdgeCases (line 773) | func TestProcessorEdgeCases(t *testing.T) { function TestVoidProcessorEdgeCases (line 801) | func TestVoidProcessorEdgeCases(t *testing.T) { function createFakeRESP3PushNotification (line 835) | func createFakeRESP3PushNotification(notificationType string, args ...st... function createReaderWithPrimedBuffer (line 854) | func createReaderWithPrimedBuffer(buf *bytes.Buffer) *proto.Reader { function createMockConnection (line 861) | func createMockConnection() *pool.Conn { function createFakeRESP3Array (line 867) | func createFakeRESP3Array(elements ...string) *bytes.Buffer { function createFakeRESP3Error (line 882) | func createFakeRESP3Error(message string) *bytes.Buffer { function createMultipleNotifications (line 889) | func createMultipleNotifications(notifications ...[]string) *bytes.Buffer { function TestProcessorWithFakeBuffer (line 916) | func TestProcessorWithFakeBuffer(t *testing.T) { function TestVoidProcessorWithFakeBuffer (line 1184) | func TestVoidProcessorWithFakeBuffer(t *testing.T) { function TestProcessorErrorHandling (line 1298) | func TestProcessorErrorHandling(t *testing.T) { function TestProcessorPerformanceWithFakeData (line 1386) | func TestProcessorPerformanceWithFakeData(t *testing.T) { function TestInterfaceCompliance (line 1430) | func TestInterfaceCompliance(t *testing.T) { function TestErrors (line 1449) | func TestErrors(t *testing.T) { function TestHandlerError (line 1519) | func TestHandlerError(t *testing.T) { function TestProcessorError (line 1565) | func TestProcessorError(t *testing.T) { function TestErrorHelperFunctions (line 1611) | func TestErrorHelperFunctions(t *testing.T) { function TestErrorConstants (line 1657) | func TestErrorConstants(t *testing.T) { function BenchmarkRegistry (line 1678) | func BenchmarkRegistry(b *testing.B) { function BenchmarkProcessor (line 1697) | func BenchmarkProcessor(b *testing.B) { FILE: push/registry.go type Registry (line 8) | type Registry struct method RegisterHandler (line 23) | func (r *Registry) RegisterHandler(pushNotificationName string, handle... method GetHandler (line 42) | func (r *Registry) GetHandler(pushNotificationName string) Notificatio... method UnregisterHandler (line 49) | func (r *Registry) UnregisterHandler(pushNotificationName string) error { function NewRegistry (line 15) | func NewRegistry() *Registry { FILE: push_notifications.go function NewPushNotificationProcessor (line 10) | func NewPushNotificationProcessor() push.NotificationProcessor { function NewVoidPushNotificationProcessor (line 19) | func NewVoidPushNotificationProcessor() push.NotificationProcessor { FILE: race_test.go function bigVal (line 317) | func bigVal() []byte { FILE: redis.go constant Nil (line 27) | Nil = proto.Nil function SetLogger (line 32) | func SetLogger(logger internal.Logging) { function SetLogLevel (line 40) | func SetLogLevel(logLevel internal.LogLevelT) { type Hook (line 46) | type Hook interface type DialHook (line 53) | type DialHook type ProcessHook (line 54) | type ProcessHook type ProcessPipelineHook (line 55) | type ProcessPipelineHook type hooksMixin (line 58) | type hooksMixin struct method initHooks (line 66) | func (hs *hooksMixin) initHooks(hooks hooks) { method AddHook (line 130) | func (hs *hooksMixin) AddHook(hook Hook) { method chain (line 135) | func (hs *hooksMixin) chain() { method clone (line 162) | func (hs *hooksMixin) clone() hooksMixin { method withProcessHook (line 173) | func (hs *hooksMixin) withProcessHook(ctx context.Context, cmd Cmder, ... method withProcessPipelineHook (line 182) | func (hs *hooksMixin) withProcessPipelineHook( method dialHook (line 193) | func (hs *hooksMixin) dialHook(ctx context.Context, network, addr stri... method processHook (line 204) | func (hs *hooksMixin) processHook(ctx context.Context, cmd Cmder) error { method processPipelineHook (line 208) | func (hs *hooksMixin) processPipelineHook(ctx context.Context, cmds []... method processTxPipelineHook (line 212) | func (hs *hooksMixin) processTxPipelineHook(ctx context.Context, cmds ... type hooks (line 72) | type hooks struct method setDefaults (line 79) | func (h *hooks) setDefaults() { type baseClient (line 218) | type baseClient struct method clone (line 238) | func (c *baseClient) clone() *baseClient { method cloneOpt (line 257) | func (c *baseClient) cloneOpt() *Options { method withTimeout (line 264) | func (c *baseClient) withTimeout(timeout time.Duration) *baseClient { method String (line 275) | func (c *baseClient) String() string { method getConn (line 279) | func (c *baseClient) getConn(ctx context.Context) (*pool.Conn, error) { method _getConn (line 298) | func (c *baseClient) _getConn(ctx context.Context) (*pool.Conn, error) { method reAuthConnection (line 332) | func (c *baseClient) reAuthConnection() func(poolCn *pool.Conn, creden... method onAuthenticationErr (line 354) | func (c *baseClient) onAuthenticationErr() func(poolCn *pool.Conn, err... method wrappedOnClose (line 379) | func (c *baseClient) wrappedOnClose(newOnClose func() error) func() er... method initConn (line 400) | func (c *baseClient) initConn(ctx context.Context, cn *pool.Conn) error { method releaseConn (line 661) | func (c *baseClient) releaseConn(ctx context.Context, cn *pool.Conn, e... method withConn (line 677) | func (c *baseClient) withConn( method dial (line 695) | func (c *baseClient) dial(ctx context.Context, network, addr string) (... method process (line 699) | func (c *baseClient) process(ctx context.Context, cmd Cmder) error { method assertUnstableCommand (line 813) | func (c *baseClient) assertUnstableCommand(cmd Cmder) (bool, error) { method _process (line 826) | func (c *baseClient) _process(ctx context.Context, cmd Cmder, attempt ... method retryBackoff (line 883) | func (c *baseClient) retryBackoff(attempt int) time.Duration { method cmdTimeout (line 887) | func (c *baseClient) cmdTimeout(cmd Cmder) time.Duration { method context (line 901) | func (c *baseClient) context(ctx context.Context) context.Context { method createInitConnFunc (line 909) | func (c *baseClient) createInitConnFunc() func(context.Context, *pool.... method enableMaintNotificationsUpgrades (line 919) | func (c *baseClient) enableMaintNotificationsUpgrades() error { method disableMaintNotificationsUpgrades (line 938) | func (c *baseClient) disableMaintNotificationsUpgrades() error { method Close (line 956) | func (c *baseClient) Close() error { method getAddr (line 986) | func (c *baseClient) getAddr() string { method processPipeline (line 990) | func (c *baseClient) processPipeline(ctx context.Context, cmds []Cmder... method processTxPipeline (line 997) | func (c *baseClient) processTxPipeline(ctx context.Context, cmds []Cmd... method generalProcessPipeline (line 1006) | func (c *baseClient) generalProcessPipeline( method pipelineProcessCmds (line 1077) | func (c *baseClient) pipelineProcessCmds( method pipelineReadCmds (line 1102) | func (c *baseClient) pipelineReadCmds(ctx context.Context, cn *pool.Co... method txPipelineProcessCmds (line 1119) | func (c *baseClient) txPipelineProcessCmds( method txPipelineReadQueued (line 1155) | func (c *baseClient) txPipelineReadQueued(ctx context.Context, cn *poo... method processPushNotifications (line 1577) | func (c *baseClient) processPushNotifications(ctx context.Context, cn ... method processPendingPushNotificationWithReader (line 1624) | func (c *baseClient) processPendingPushNotificationWithReader(ctx cont... method pushNotificationHandlerContext (line 1637) | func (c *baseClient) pushNotificationHandlerContext(cn *pool.Conn) pus... function classifyCommandError (line 758) | func classifyCommandError(err error) (errorType, statusCode string, isIn... type pipelineProcessor (line 1004) | type pipelineProcessor type Client (line 1206) | type Client struct method init (line 1284) | func (c *Client) init() { method WithTimeout (line 1294) | func (c *Client) WithTimeout(timeout time.Duration) *Client { method Conn (line 1301) | func (c *Client) Conn() *Conn { method Process (line 1305) | func (c *Client) Process(ctx context.Context, cmd Cmder) error { method Options (line 1312) | func (c *Client) Options() *Options { method NodeAddress (line 1322) | func (c *Client) NodeAddress() string { method GetMaintNotificationsManager (line 1328) | func (c *Client) GetMaintNotificationsManager() *maintnotifications.Ma... method RegisterPushNotificationHandler (line 1355) | func (c *Client) RegisterPushNotificationHandler(pushNotificationName ... method GetPushNotificationHandler (line 1361) | func (c *Client) GetPushNotificationHandler(pushNotificationName strin... method PoolStats (line 1368) | func (c *Client) PoolStats() *PoolStats { method Pipelined (line 1374) | func (c *Client) Pipelined(ctx context.Context, fn func(Pipeliner) err... method Pipeline (line 1378) | func (c *Client) Pipeline() Pipeliner { method TxPipelined (line 1386) | func (c *Client) TxPipelined(ctx context.Context, fn func(Pipeliner) e... method TxPipeline (line 1391) | func (c *Client) TxPipeline() Pipeliner { method pubSub (line 1402) | func (c *Client) pubSub() *PubSub { method Subscribe (line 1459) | func (c *Client) Subscribe(ctx context.Context, channels ...string) *P... method PSubscribe (line 1469) | func (c *Client) PSubscribe(ctx context.Context, channels ...string) *... method SSubscribe (line 1479) | func (c *Client) SSubscribe(ctx context.Context, channels ...string) *... function NewClient (line 1212) | func NewClient(opt *Options) *Client { function initializePushProcessor (line 1336) | func initializePushProcessor(opt *Options) push.NotificationProcessor { type PoolStats (line 1365) | type PoolStats type Conn (line 1492) | type Conn struct method Process (line 1529) | func (c *Conn) Process(ctx context.Context, cmd Cmder) error { method RegisterPushNotificationHandler (line 1538) | func (c *Conn) RegisterPushNotificationHandler(pushNotificationName st... method Pipelined (line 1542) | func (c *Conn) Pipelined(ctx context.Context, fn func(Pipeliner) error... method Pipeline (line 1546) | func (c *Conn) Pipeline() Pipeliner { method TxPipelined (line 1554) | func (c *Conn) TxPipelined(ctx context.Context, fn func(Pipeliner) err... method TxPipeline (line 1559) | func (c *Conn) TxPipeline() Pipeliner { function newConn (line 1501) | func newConn(opt *Options, connPool pool.Pooler, parentHooks *hooksMixin... FILE: redis_test.go type redisHookError (line 19) | type redisHookError struct method DialHook (line 23) | func (redisHookError) DialHook(hook redis.DialHook) redis.DialHook { method ProcessHook (line 27) | func (redisHookError) ProcessHook(hook redis.ProcessHook) redis.Proces... method ProcessPipelineHook (line 33) | func (redisHookError) ProcessPipelineHook(hook redis.ProcessPipelineHo... function TestHookError (line 37) | func TestHookError(t *testing.T) { type mockStreamingProvider (line 962) | type mockStreamingProvider struct method Subscribe (line 969) | func (m *mockStreamingProvider) Subscribe(listener auth.CredentialsLis... FILE: result.go function NewCmdResult (line 6) | func NewCmdResult(val interface{}, err error) *Cmd { function NewSliceResult (line 14) | func NewSliceResult(val []interface{}, err error) *SliceCmd { function NewStatusResult (line 22) | func NewStatusResult(val string, err error) *StatusCmd { function NewIntResult (line 30) | func NewIntResult(val int64, err error) *IntCmd { function NewDurationResult (line 38) | func NewDurationResult(val time.Duration, err error) *DurationCmd { function NewBoolResult (line 46) | func NewBoolResult(val bool, err error) *BoolCmd { function NewStringResult (line 54) | func NewStringResult(val string, err error) *StringCmd { function NewFloatResult (line 62) | func NewFloatResult(val float64, err error) *FloatCmd { function NewStringSliceResult (line 70) | func NewStringSliceResult(val []string, err error) *StringSliceCmd { function NewBoolSliceResult (line 78) | func NewBoolSliceResult(val []bool, err error) *BoolSliceCmd { function NewFloatSliceResult (line 86) | func NewFloatSliceResult(val []float64, err error) *FloatSliceCmd { function NewMapStringStringResult (line 94) | func NewMapStringStringResult(val map[string]string, err error) *MapStri... function NewMapStringIntCmdResult (line 102) | func NewMapStringIntCmdResult(val map[string]int64, err error) *MapStrin... function NewTimeCmdResult (line 110) | func NewTimeCmdResult(val time.Time, err error) *TimeCmd { function NewZSliceCmdResult (line 118) | func NewZSliceCmdResult(val []Z, err error) *ZSliceCmd { function NewZWithKeyCmdResult (line 126) | func NewZWithKeyCmdResult(val *ZWithKey, err error) *ZWithKeyCmd { function NewScanCmdResult (line 134) | func NewScanCmdResult(keys []string, cursor uint64, err error) *ScanCmd { function NewClusterSlotsCmdResult (line 143) | func NewClusterSlotsCmdResult(val []ClusterSlot, err error) *ClusterSlot... function NewGeoLocationCmdResult (line 151) | func NewGeoLocationCmdResult(val []GeoLocation, err error) *GeoLocationC... function NewGeoPosCmdResult (line 159) | func NewGeoPosCmdResult(val []*GeoPos, err error) *GeoPosCmd { function NewCommandsInfoCmdResult (line 167) | func NewCommandsInfoCmdResult(val map[string]*CommandInfo, err error) *C... function NewXMessageSliceCmdResult (line 175) | func NewXMessageSliceCmdResult(val []XMessage, err error) *XMessageSlice... function NewXStreamSliceCmdResult (line 183) | func NewXStreamSliceCmdResult(val []XStream, err error) *XStreamSliceCmd { function NewXPendingResult (line 191) | func NewXPendingResult(val *XPending, err error) *XPendingCmd { FILE: ring.go type ConsistentHash (line 35) | type ConsistentHash interface type rendezvousWrapper (line 39) | type rendezvousWrapper struct method Get (line 43) | func (w rendezvousWrapper) Get(key string) string { function newRendezvous (line 47) | func newRendezvous(shards []string) ConsistentHash { type RingOptions (line 55) | type RingOptions struct method init (line 175) | func (opt *RingOptions) init() { method clientOptions (line 221) | func (opt *RingOptions) clientOptions() *Options { type ringShard (line 270) | type ringShard struct method String (line 286) | func (shard *ringShard) String() string { method IsDown (line 296) | func (shard *ringShard) IsDown() bool { method IsUp (line 301) | func (shard *ringShard) IsUp() bool { method Vote (line 306) | func (shard *ringShard) Vote(up bool) bool { function newRingShard (line 276) | func newRingShard(opt *RingOptions, addr string) *ringShard { type ringSharding (line 323) | type ringSharding struct method OnNewNode (line 352) | func (c *ringSharding) OnNewNode(fn func(rdb *Client)) { method SetAddrs (line 361) | func (c *ringSharding) SetAddrs(addrs map[string]string) { method newRingShards (line 396) | func (c *ringSharding) newRingShards( method List (line 433) | func (c *ringSharding) List() []*ringShard { method Hash (line 443) | func (c *ringSharding) Hash(key string) string { method GetByKey (line 458) | func (c *ringSharding) GetByKey(key string) (*ringShard, error) { method GetByName (line 479) | func (c *ringSharding) GetByName(shardName string) (*ringShard, error) { method Random (line 495) | func (c *ringSharding) Random() (*ringShard, error) { method Heartbeat (line 500) | func (c *ringSharding) Heartbeat(ctx context.Context, frequency time.D... method rebalanceLocked (line 531) | func (c *ringSharding) rebalanceLocked() { method Len (line 551) | func (c *ringSharding) Len() int { method Close (line 558) | func (c *ringSharding) Close() error { type ringShards (line 338) | type ringShards struct function newRingSharding (line 343) | func newRingSharding(opt *RingOptions) *ringSharding { type Ring (line 598) | type Ring struct method SetAddrs (line 640) | func (c *Ring) SetAddrs(addrs map[string]string) { method Process (line 644) | func (c *Ring) Process(ctx context.Context, cmd Cmder) error { method Options (line 651) | func (c *Ring) Options() *RingOptions { method retryBackoff (line 655) | func (c *Ring) retryBackoff(attempt int) time.Duration { method PoolStats (line 660) | func (c *Ring) PoolStats() *PoolStats { method Len (line 676) | func (c *Ring) Len() int { method Subscribe (line 681) | func (c *Ring) Subscribe(ctx context.Context, channels ...string) *Pub... method PSubscribe (line 695) | func (c *Ring) PSubscribe(ctx context.Context, channels ...string) *Pu... method SSubscribe (line 709) | func (c *Ring) SSubscribe(ctx context.Context, channels ...string) *Pu... method OnNewNode (line 721) | func (c *Ring) OnNewNode(fn func(rdb *Client)) { method ForEachShard (line 727) | func (c *Ring) ForEachShard( method cmdsInfo (line 762) | func (c *Ring) cmdsInfo(ctx context.Context) (map[string]*CommandInfo,... method cmdShard (line 781) | func (c *Ring) cmdShard(cmd Cmder) (*ringShard, error) { method process (line 790) | func (c *Ring) process(ctx context.Context, cmd Cmder) error { method Pipelined (line 812) | func (c *Ring) Pipelined(ctx context.Context, fn func(Pipeliner) error... method Pipeline (line 816) | func (c *Ring) Pipeline() Pipeliner { method TxPipelined (line 824) | func (c *Ring) TxPipelined(ctx context.Context, fn func(Pipeliner) err... method TxPipeline (line 828) | func (c *Ring) TxPipeline() Pipeliner { method generalProcessPipeline (line 839) | func (c *Ring) generalProcessPipeline( method Watch (line 893) | func (c *Ring) Watch(ctx context.Context, fn func(*Tx) error, keys ...... method Close (line 931) | func (c *Ring) Close() error { method GetShardClients (line 939) | func (c *Ring) GetShardClients() []*Client { method GetShardClientForKey (line 952) | func (c *Ring) GetShardClientForKey(key string) (*Client, error) { function NewRing (line 608) | func NewRing(opt *RingOptions) *Ring { FILE: script.go type Scripter (line 11) | type Scripter interface type Script (line 26) | type Script struct method Hash (line 39) | func (s *Script) Hash() string { method Load (line 43) | func (s *Script) Load(ctx context.Context, c Scripter) *StringCmd { method Exists (line 47) | func (s *Script) Exists(ctx context.Context, c Scripter) *BoolSliceCmd { method Eval (line 51) | func (s *Script) Eval(ctx context.Context, c Scripter, keys []string, ... method EvalRO (line 55) | func (s *Script) EvalRO(ctx context.Context, c Scripter, keys []string... method EvalSha (line 59) | func (s *Script) EvalSha(ctx context.Context, c Scripter, keys []strin... method EvalShaRO (line 63) | func (s *Script) EvalShaRO(ctx context.Context, c Scripter, keys []str... method Run (line 69) | func (s *Script) Run(ctx context.Context, c Scripter, keys []string, a... method RunRO (line 79) | func (s *Script) RunRO(ctx context.Context, c Scripter, keys []string,... function NewScript (line 30) | func NewScript(src string) *Script { FILE: scripting_commands.go type ScriptingFunctionsCmdable (line 5) | type ScriptingFunctionsCmdable interface method Eval (line 30) | func (c cmdable) Eval(ctx context.Context, script string, keys []string,... method EvalRO (line 34) | func (c cmdable) EvalRO(ctx context.Context, script string, keys []strin... method EvalSha (line 38) | func (c cmdable) EvalSha(ctx context.Context, sha1 string, keys []string... method EvalShaRO (line 42) | func (c cmdable) EvalShaRO(ctx context.Context, sha1 string, keys []stri... method eval (line 46) | func (c cmdable) eval(ctx context.Context, name, payload string, keys []... method ScriptExists (line 71) | func (c cmdable) ScriptExists(ctx context.Context, hashes ...string) *Bo... method ScriptFlush (line 83) | func (c cmdable) ScriptFlush(ctx context.Context) *StatusCmd { method ScriptKill (line 89) | func (c cmdable) ScriptKill(ctx context.Context) *StatusCmd { method ScriptLoad (line 95) | func (c cmdable) ScriptLoad(ctx context.Context, script string) *StringC... type FunctionListQuery (line 109) | type FunctionListQuery struct method FunctionLoad (line 114) | func (c cmdable) FunctionLoad(ctx context.Context, code string) *StringC... method FunctionLoadReplace (line 120) | func (c cmdable) FunctionLoadReplace(ctx context.Context, code string) *... method FunctionDelete (line 126) | func (c cmdable) FunctionDelete(ctx context.Context, libName string) *St... method FunctionFlush (line 132) | func (c cmdable) FunctionFlush(ctx context.Context) *StringCmd { method FunctionKill (line 138) | func (c cmdable) FunctionKill(ctx context.Context) *StringCmd { method FunctionFlushAsync (line 144) | func (c cmdable) FunctionFlushAsync(ctx context.Context) *StringCmd { method FunctionList (line 150) | func (c cmdable) FunctionList(ctx context.Context, q FunctionListQuery) ... method FunctionDump (line 165) | func (c cmdable) FunctionDump(ctx context.Context) *StringCmd { method FunctionRestore (line 171) | func (c cmdable) FunctionRestore(ctx context.Context, libDump string) *S... method FunctionStats (line 177) | func (c cmdable) FunctionStats(ctx context.Context) *FunctionStatsCmd { method FCall (line 183) | func (c cmdable) FCall(ctx context.Context, function string, keys []stri... method FCallRo (line 195) | func (c cmdable) FCallRo(ctx context.Context, function string, keys []st... method FCallRO (line 199) | func (c cmdable) FCallRO(ctx context.Context, function string, keys []st... function fcallArgs (line 209) | func fcallArgs(command string, function string, keys []string, args ...i... FILE: search_builders.go type SearchBuilder (line 14) | type SearchBuilder struct method WithScores (line 30) | func (b *SearchBuilder) WithScores() *SearchBuilder { method NoContent (line 36) | func (b *SearchBuilder) NoContent() *SearchBuilder { b.options.NoConte... method Verbatim (line 39) | func (b *SearchBuilder) Verbatim() *SearchBuilder { b.options.Verbatim... method NoStopWords (line 42) | func (b *SearchBuilder) NoStopWords() *SearchBuilder { b.options.NoSto... method WithPayloads (line 45) | func (b *SearchBuilder) WithPayloads() *SearchBuilder { method WithSortKeys (line 51) | func (b *SearchBuilder) WithSortKeys() *SearchBuilder { method Filter (line 57) | func (b *SearchBuilder) Filter(field string, min, max interface{}) *Se... method GeoFilter (line 67) | func (b *SearchBuilder) GeoFilter(field string, lon, lat, radius float... method InKeys (line 79) | func (b *SearchBuilder) InKeys(keys ...interface{}) *SearchBuilder { method InFields (line 85) | func (b *SearchBuilder) InFields(fields ...interface{}) *SearchBuilder { method ReturnFields (line 91) | func (b *SearchBuilder) ReturnFields(fields ...string) *SearchBuilder { method ReturnAs (line 99) | func (b *SearchBuilder) ReturnAs(field, alias string) *SearchBuilder { method Slop (line 105) | func (b *SearchBuilder) Slop(slop int) *SearchBuilder { method Timeout (line 111) | func (b *SearchBuilder) Timeout(timeout int) *SearchBuilder { method InOrder (line 117) | func (b *SearchBuilder) InOrder() *SearchBuilder { method Language (line 123) | func (b *SearchBuilder) Language(lang string) *SearchBuilder { method Expander (line 129) | func (b *SearchBuilder) Expander(expander string) *SearchBuilder { method Scorer (line 135) | func (b *SearchBuilder) Scorer(scorer string) *SearchBuilder { method ExplainScore (line 141) | func (b *SearchBuilder) ExplainScore() *SearchBuilder { method Payload (line 147) | func (b *SearchBuilder) Payload(payload string) *SearchBuilder { method SortBy (line 153) | func (b *SearchBuilder) SortBy(field string, asc bool) *SearchBuilder { method WithSortByCount (line 163) | func (b *SearchBuilder) WithSortByCount() *SearchBuilder { method Param (line 169) | func (b *SearchBuilder) Param(key string, value interface{}) *SearchBu... method ParamsMap (line 178) | func (b *SearchBuilder) ParamsMap(p map[string]interface{}) *SearchBui... method Dialect (line 189) | func (b *SearchBuilder) Dialect(version int) *SearchBuilder { method Limit (line 195) | func (b *SearchBuilder) Limit(offset, count int) *SearchBuilder { method CountOnly (line 200) | func (b *SearchBuilder) CountOnly() *SearchBuilder { b.options.CountOn... method Run (line 203) | func (b *SearchBuilder) Run() (FTSearchResult, error) { method NewSearchBuilder (line 24) | func (c *Client) NewSearchBuilder(ctx context.Context, index, query stri... type AggregateBuilder (line 212) | type AggregateBuilder struct method Verbatim (line 227) | func (b *AggregateBuilder) Verbatim() *AggregateBuilder { b.options.Ve... method AddScores (line 230) | func (b *AggregateBuilder) AddScores() *AggregateBuilder { b.options.A... method Scorer (line 233) | func (b *AggregateBuilder) Scorer(s string) *AggregateBuilder { method LoadAll (line 239) | func (b *AggregateBuilder) LoadAll() *AggregateBuilder { method Load (line 246) | func (b *AggregateBuilder) Load(field string, alias ...string) *Aggreg... method Timeout (line 257) | func (b *AggregateBuilder) Timeout(ms int) *AggregateBuilder { method Apply (line 263) | func (b *AggregateBuilder) Apply(field string, alias ...string) *Aggre... method GroupBy (line 273) | func (b *AggregateBuilder) GroupBy(fields ...interface{}) *AggregateBu... method Reduce (line 281) | func (b *AggregateBuilder) Reduce(fn SearchAggregator, args ...interfa... method ReduceAs (line 295) | func (b *AggregateBuilder) ReduceAs(fn SearchAggregator, alias string,... method SortBy (line 309) | func (b *AggregateBuilder) SortBy(field string, asc bool) *AggregateBu... method SortByMax (line 316) | func (b *AggregateBuilder) SortByMax(max int) *AggregateBuilder { method Filter (line 322) | func (b *AggregateBuilder) Filter(expr string) *AggregateBuilder { method WithCursor (line 328) | func (b *AggregateBuilder) WithCursor(count, maxIdle int) *AggregateBu... method Params (line 339) | func (b *AggregateBuilder) Params(p map[string]interface{}) *Aggregate... method Dialect (line 350) | func (b *AggregateBuilder) Dialect(version int) *AggregateBuilder { method Run (line 356) | func (b *AggregateBuilder) Run() (*FTAggregateResult, error) { method NewAggregateBuilder (line 222) | func (c *Client) NewAggregateBuilder(ctx context.Context, index, query s... type CreateIndexBuilder (line 366) | type CreateIndexBuilder struct method OnHash (line 381) | func (b *CreateIndexBuilder) OnHash() *CreateIndexBuilder { b.options.... method OnJSON (line 384) | func (b *CreateIndexBuilder) OnJSON() *CreateIndexBuilder { b.options.... method Prefix (line 387) | func (b *CreateIndexBuilder) Prefix(prefixes ...interface{}) *CreateIn... method Filter (line 393) | func (b *CreateIndexBuilder) Filter(filter string) *CreateIndexBuilder { method DefaultLanguage (line 399) | func (b *CreateIndexBuilder) DefaultLanguage(lang string) *CreateIndex... method LanguageField (line 405) | func (b *CreateIndexBuilder) LanguageField(field string) *CreateIndexB... method Score (line 411) | func (b *CreateIndexBuilder) Score(score float64) *CreateIndexBuilder { method ScoreField (line 417) | func (b *CreateIndexBuilder) ScoreField(field string) *CreateIndexBuil... method PayloadField (line 423) | func (b *CreateIndexBuilder) PayloadField(field string) *CreateIndexBu... method NoOffsets (line 429) | func (b *CreateIndexBuilder) NoOffsets() *CreateIndexBuilder { b.optio... method Temporary (line 432) | func (b *CreateIndexBuilder) Temporary(sec int) *CreateIndexBuilder { method NoHL (line 438) | func (b *CreateIndexBuilder) NoHL() *CreateIndexBuilder { b.options.No... method NoFields (line 441) | func (b *CreateIndexBuilder) NoFields() *CreateIndexBuilder { b.option... method NoFreqs (line 444) | func (b *CreateIndexBuilder) NoFreqs() *CreateIndexBuilder { b.options... method StopWords (line 447) | func (b *CreateIndexBuilder) StopWords(words ...interface{}) *CreateIn... method SkipInitialScan (line 453) | func (b *CreateIndexBuilder) SkipInitialScan() *CreateIndexBuilder { method Schema (line 459) | func (b *CreateIndexBuilder) Schema(field *FieldSchema) *CreateIndexBu... method Run (line 465) | func (b *CreateIndexBuilder) Run() (string, error) { method NewCreateIndexBuilder (line 376) | func (c *Client) NewCreateIndexBuilder(ctx context.Context, index string... type DropIndexBuilder (line 475) | type DropIndexBuilder struct method DeleteDocs (line 489) | func (b *DropIndexBuilder) DeleteDocs() *DropIndexBuilder { b.options.... method Run (line 492) | func (b *DropIndexBuilder) Run() (string, error) { method NewDropIndexBuilder (line 484) | func (c *Client) NewDropIndexBuilder(ctx context.Context, index string) ... type AliasBuilder (line 502) | type AliasBuilder struct method Action (line 517) | func (b *AliasBuilder) Action(action string) *AliasBuilder { method Add (line 523) | func (b *AliasBuilder) Add(index string) *AliasBuilder { method Del (line 530) | func (b *AliasBuilder) Del() *AliasBuilder { method Update (line 536) | func (b *AliasBuilder) Update(index string) *AliasBuilder { method Run (line 543) | func (b *AliasBuilder) Run() (string, error) { method NewAliasBuilder (line 512) | func (c *Client) NewAliasBuilder(ctx context.Context, alias string) *Ali... type ExplainBuilder (line 563) | type ExplainBuilder struct method Dialect (line 578) | func (b *ExplainBuilder) Dialect(d string) *ExplainBuilder { b.options... method Run (line 581) | func (b *ExplainBuilder) Run() (string, error) { method NewExplainBuilder (line 573) | func (c *Client) NewExplainBuilder(ctx context.Context, index, query str... type FTInfoBuilder (line 590) | type FTInfoBuilder struct method Run (line 602) | func (b *FTInfoBuilder) Run() (FTInfoResult, error) { method NewSearchInfoBuilder (line 597) | func (c *Client) NewSearchInfoBuilder(ctx context.Context, index string)... type SpellCheckBuilder (line 612) | type SpellCheckBuilder struct method Distance (line 627) | func (b *SpellCheckBuilder) Distance(d int) *SpellCheckBuilder { b.opt... method Terms (line 630) | func (b *SpellCheckBuilder) Terms(include bool, dictionary string, ter... method Dialect (line 645) | func (b *SpellCheckBuilder) Dialect(d int) *SpellCheckBuilder { b.opti... method Run (line 648) | func (b *SpellCheckBuilder) Run() ([]SpellCheckResult, error) { method NewSpellCheckBuilder (line 622) | func (c *Client) NewSpellCheckBuilder(ctx context.Context, index, query ... type DictBuilder (line 658) | type DictBuilder struct method Action (line 673) | func (b *DictBuilder) Action(action string) *DictBuilder { method Add (line 679) | func (b *DictBuilder) Add(terms ...interface{}) *DictBuilder { method Del (line 686) | func (b *DictBuilder) Del(terms ...interface{}) *DictBuilder { method Dump (line 693) | func (b *DictBuilder) Dump() *DictBuilder { method Run (line 699) | func (b *DictBuilder) Run() (interface{}, error) { method NewDictBuilder (line 668) | func (c *Client) NewDictBuilder(ctx context.Context, dict string) *DictB... type TagValsBuilder (line 719) | type TagValsBuilder struct method Run (line 733) | func (b *TagValsBuilder) Run() ([]string, error) { method NewTagValsBuilder (line 728) | func (c *Client) NewTagValsBuilder(ctx context.Context, index, field str... type CursorBuilder (line 743) | type CursorBuilder struct method Action (line 759) | func (b *CursorBuilder) Action(action string) *CursorBuilder { method Read (line 765) | func (b *CursorBuilder) Read() *CursorBuilder { method Del (line 771) | func (b *CursorBuilder) Del() *CursorBuilder { method Count (line 777) | func (b *CursorBuilder) Count(count int) *CursorBuilder { b.count = co... method Run (line 780) | func (b *CursorBuilder) Run() (interface{}, error) { method NewCursorBuilder (line 754) | func (c *Client) NewCursorBuilder(ctx context.Context, index string, cur... type SynUpdateBuilder (line 797) | type SynUpdateBuilder struct method SkipInitialScan (line 813) | func (b *SynUpdateBuilder) SkipInitialScan() *SynUpdateBuilder { method Terms (line 819) | func (b *SynUpdateBuilder) Terms(terms ...interface{}) *SynUpdateBuild... method Run (line 822) | func (b *SynUpdateBuilder) Run() (string, error) { method NewSynUpdateBuilder (line 808) | func (c *Client) NewSynUpdateBuilder(ctx context.Context, index string, ... FILE: search_commands.go type SearchCmdable (line 12) | type SearchCmdable interface type FTCreateOptions (line 45) | type FTCreateOptions struct type FieldSchema (line 65) | type FieldSchema struct type FTVectorArgs (line 84) | type FTVectorArgs struct type FTFlatOptions (line 90) | type FTFlatOptions struct type FTHNSWOptions (line 98) | type FTHNSWOptions struct type FTVamanaOptions (line 109) | type FTVamanaOptions struct type FTDropIndexOptions (line 122) | type FTDropIndexOptions struct type SpellCheckTerms (line 126) | type SpellCheckTerms struct type FTExplainOptions (line 132) | type FTExplainOptions struct type FTSynUpdateOptions (line 137) | type FTSynUpdateOptions struct type SearchAggregator (line 141) | type SearchAggregator method String (line 159) | func (a SearchAggregator) String() string { constant SearchInvalid (line 144) | SearchInvalid = SearchAggregator(iota) constant SearchAvg (line 145) | SearchAvg constant SearchSum (line 146) | SearchSum constant SearchMin (line 147) | SearchMin constant SearchMax (line 148) | SearchMax constant SearchCount (line 149) | SearchCount constant SearchCountDistinct (line 150) | SearchCountDistinct constant SearchCountDistinctish (line 151) | SearchCountDistinctish constant SearchStdDev (line 152) | SearchStdDev constant SearchQuantile (line 153) | SearchQuantile constant SearchToList (line 154) | SearchToList constant SearchFirstValue (line 155) | SearchFirstValue constant SearchRandomSample (line 156) | SearchRandomSample type SearchFieldType (line 192) | type SearchFieldType method String (line 204) | func (t SearchFieldType) String() string { constant SearchFieldTypeInvalid (line 195) | SearchFieldTypeInvalid = SearchFieldType(iota) constant SearchFieldTypeNumeric (line 196) | SearchFieldTypeNumeric constant SearchFieldTypeTag (line 197) | SearchFieldTypeTag constant SearchFieldTypeText (line 198) | SearchFieldTypeText constant SearchFieldTypeGeo (line 199) | SearchFieldTypeGeo constant SearchFieldTypeVector (line 200) | SearchFieldTypeVector constant SearchFieldTypeGeoShape (line 201) | SearchFieldTypeGeoShape type FTAggregateReducer (line 227) | type FTAggregateReducer struct type FTAggregateGroupBy (line 233) | type FTAggregateGroupBy struct type FTAggregateSortBy (line 238) | type FTAggregateSortBy struct type FTAggregateApply (line 244) | type FTAggregateApply struct type FTAggregateLoad (line 249) | type FTAggregateLoad struct type FTAggregateWithCursor (line 254) | type FTAggregateWithCursor struct type FTAggregateOptions (line 259) | type FTAggregateOptions struct type FTSearchFilter (line 285) | type FTSearchFilter struct type FTSearchGeoFilter (line 291) | type FTSearchGeoFilter struct type FTSearchReturn (line 299) | type FTSearchReturn struct type FTSearchSortBy (line 304) | type FTSearchSortBy struct type FTSearchOptions (line 313) | type FTSearchOptions struct type FTHybridCombineMethod (line 350) | type FTHybridCombineMethod constant FTHybridCombineRRF (line 353) | FTHybridCombineRRF FTHybridCombineMethod = "RRF" constant FTHybridCombineLinear (line 354) | FTHybridCombineLinear FTHybridCombineMethod = "LINEAR" constant FTHybridCombineFunction (line 355) | FTHybridCombineFunction FTHybridCombineMethod = "FUNCTION" type FTHybridSearchExpression (line 359) | type FTHybridSearchExpression struct constant KNN (line 369) | KNN FTHybridCombineMethod = "KNN" constant RANGE (line 370) | RANGE FTHybridCombineMethod = "RANGE" type FTHybridVectorExpression (line 374) | type FTHybridVectorExpression struct type FTHybridCombineOptions (line 390) | type FTHybridCombineOptions struct type FTHybridGroupBy (line 401) | type FTHybridGroupBy struct type FTHybridApply (line 410) | type FTHybridApply struct type FTHybridWithCursor (line 416) | type FTHybridWithCursor struct type FTHybridOptions (line 422) | type FTHybridOptions struct type FTSynDumpResult (line 441) | type FTSynDumpResult struct type FTSynDumpCmd (line 446) | type FTSynDumpCmd struct method String (line 2727) | func (cmd *FTSynDumpCmd) String() string { method SetVal (line 2731) | func (cmd *FTSynDumpCmd) SetVal(val []FTSynDumpResult) { method Val (line 2735) | func (cmd *FTSynDumpCmd) Val() []FTSynDumpResult { method Result (line 2739) | func (cmd *FTSynDumpCmd) Result() ([]FTSynDumpResult, error) { method RawVal (line 2743) | func (cmd *FTSynDumpCmd) RawVal() interface{} { method RawResult (line 2747) | func (cmd *FTSynDumpCmd) RawResult() (interface{}, error) { method readReply (line 2751) | func (cmd *FTSynDumpCmd) readReply(rd *proto.Reader) error { method Clone (line 2788) | func (cmd *FTSynDumpCmd) Clone() Cmder { type FTAggregateResult (line 451) | type FTAggregateResult struct type AggregateRow (line 456) | type AggregateRow struct type AggregateCmd (line 460) | type AggregateCmd struct method SetVal (line 784) | func (cmd *AggregateCmd) SetVal(val *FTAggregateResult) { method Val (line 788) | func (cmd *AggregateCmd) Val() *FTAggregateResult { method Result (line 792) | func (cmd *AggregateCmd) Result() (*FTAggregateResult, error) { method RawVal (line 796) | func (cmd *AggregateCmd) RawVal() interface{} { method RawResult (line 800) | func (cmd *AggregateCmd) RawResult() (interface{}, error) { method String (line 804) | func (cmd *AggregateCmd) String() string { method readReply (line 808) | func (cmd *AggregateCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 820) | func (cmd *AggregateCmd) Clone() Cmder { type FTInfoResult (line 465) | type FTInfoResult struct type IndexErrors (line 502) | type IndexErrors struct type FTAttribute (line 508) | type FTAttribute struct type CursorStats (line 530) | type CursorStats struct type FieldStatistic (line 537) | type FieldStatistic struct type GCStats (line 543) | type GCStats struct type IndexDefinition (line 553) | type IndexDefinition struct type FTSpellCheckOptions (line 559) | type FTSpellCheckOptions struct type FTSpellCheckTerms (line 566) | type FTSpellCheckTerms struct type SpellCheckResult (line 572) | type SpellCheckResult struct type SpellCheckSuggestion (line 577) | type SpellCheckSuggestion struct type FTSearchResult (line 582) | type FTSearchResult struct type Document (line 587) | type Document struct type AggregateQuery (line 596) | type AggregateQuery method FT_List (line 601) | func (c cmdable) FT_List(ctx context.Context) *StringSliceCmd { method FTAggregate (line 611) | func (c cmdable) FTAggregate(ctx context.Context, index string, query st... function FTAggregateQuery (line 618) | func FTAggregateQuery(query string, options *FTAggregateOptions) (Aggreg... function ProcessAggregateResult (line 738) | func ProcessAggregateResult(data []interface{}) (*FTAggregateResult, err... function NewAggregateCmd (line 774) | func NewAggregateCmd(ctx context.Context, args ...interface{}) *Aggregat... method FTAggregateWithArgs (line 850) | func (c cmdable) FTAggregateWithArgs(ctx context.Context, index string, ... method FTAliasAdd (line 974) | func (c cmdable) FTAliasAdd(ctx context.Context, index string, alias str... method FTAliasDel (line 985) | func (c cmdable) FTAliasDel(ctx context.Context, alias string) *StatusCmd { method FTAliasUpdate (line 996) | func (c cmdable) FTAliasUpdate(ctx context.Context, index string, alias ... method FTAlter (line 1007) | func (c cmdable) FTAlter(ctx context.Context, index string, skipInitialS... method FTConfigGet (line 1029) | func (c cmdable) FTConfigGet(ctx context.Context, option string) *MapMap... method FTConfigSet (line 1045) | func (c cmdable) FTConfigSet(ctx context.Context, option string, value i... method FTCreate (line 1058) | func (c cmdable) FTCreate(ctx context.Context, index string, options *FT... method FTCursorDel (line 1299) | func (c cmdable) FTCursorDel(ctx context.Context, index string, cursorId... method FTCursorRead (line 1309) | func (c cmdable) FTCursorRead(ctx context.Context, index string, cursorI... method FTDictAdd (line 1323) | func (c cmdable) FTDictAdd(ctx context.Context, dict string, term ...int... method FTDictDel (line 1335) | func (c cmdable) FTDictDel(ctx context.Context, dict string, term ...int... method FTDictDump (line 1347) | func (c cmdable) FTDictDump(ctx context.Context, dict string) *StringSli... method FTDropIndex (line 1357) | func (c cmdable) FTDropIndex(ctx context.Context, index string) *StatusC... method FTDropIndexWithArgs (line 1368) | func (c cmdable) FTDropIndexWithArgs(ctx context.Context, index string, ... method FTExplain (line 1384) | func (c cmdable) FTExplain(ctx context.Context, index string, query stri... method FTExplainWithArgs (line 1394) | func (c cmdable) FTExplainWithArgs(ctx context.Context, index string, qu... method FTExplainCli (line 1408) | func (c cmdable) FTExplainCli(ctx context.Context, key, path string) err... function parseFTInfo (line 1412) | func parseFTInfo(data map[string]interface{}) (FTInfoResult, error) { type FTInfoCmd (line 1624) | type FTInfoCmd struct method String (line 1639) | func (cmd *FTInfoCmd) String() string { method SetVal (line 1643) | func (cmd *FTInfoCmd) SetVal(val FTInfoResult) { method Result (line 1647) | func (cmd *FTInfoCmd) Result() (FTInfoResult, error) { method Val (line 1651) | func (cmd *FTInfoCmd) Val() FTInfoResult { method RawVal (line 1655) | func (cmd *FTInfoCmd) RawVal() interface{} { method RawResult (line 1659) | func (cmd *FTInfoCmd) RawResult() (interface{}, error) { method readReply (line 1662) | func (cmd *FTInfoCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 1696) | func (cmd *FTInfoCmd) Clone() Cmder { function newFTInfoCmd (line 1629) | func newFTInfoCmd(ctx context.Context, args ...interface{}) *FTInfoCmd { method FTInfo (line 1762) | func (c cmdable) FTInfo(ctx context.Context, index string) *FTInfoCmd { method FTSpellCheck (line 1773) | func (c cmdable) FTSpellCheck(ctx context.Context, index string, query s... method FTSpellCheckWithArgs (line 1785) | func (c cmdable) FTSpellCheckWithArgs(ctx context.Context, index string,... type FTSpellCheckCmd (line 1806) | type FTSpellCheckCmd struct method String (line 1821) | func (cmd *FTSpellCheckCmd) String() string { method SetVal (line 1825) | func (cmd *FTSpellCheckCmd) SetVal(val []SpellCheckResult) { method Result (line 1829) | func (cmd *FTSpellCheckCmd) Result() ([]SpellCheckResult, error) { method Val (line 1833) | func (cmd *FTSpellCheckCmd) Val() []SpellCheckResult { method RawVal (line 1837) | func (cmd *FTSpellCheckCmd) RawVal() interface{} { method RawResult (line 1841) | func (cmd *FTSpellCheckCmd) RawResult() (interface{}, error) { method readReply (line 1845) | func (cmd *FTSpellCheckCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 1912) | func (cmd *FTSpellCheckCmd) Clone() Cmder { function newFTSpellCheckCmd (line 1811) | func newFTSpellCheckCmd(ctx context.Context, args ...interface{}) *FTSpe... function parseFTSpellCheck (line 1857) | func parseFTSpellCheck(data []interface{}) ([]SpellCheckResult, error) { function parseFTSearch (line 1932) | func parseFTSearch(data []interface{}, noContent, withScores, withPayloa... type FTSearchCmd (line 2019) | type FTSearchCmd struct method String (line 2036) | func (cmd *FTSearchCmd) String() string { method SetVal (line 2040) | func (cmd *FTSearchCmd) SetVal(val FTSearchResult) { method Result (line 2044) | func (cmd *FTSearchCmd) Result() (FTSearchResult, error) { method Val (line 2048) | func (cmd *FTSearchCmd) Val() FTSearchResult { method RawVal (line 2052) | func (cmd *FTSearchCmd) RawVal() interface{} { method RawResult (line 2056) | func (cmd *FTSearchCmd) RawResult() (interface{}, error) { method readReply (line 2060) | func (cmd *FTSearchCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 2072) | func (cmd *FTSearchCmd) Clone() Cmder { function newFTSearchCmd (line 2025) | func newFTSearchCmd(ctx context.Context, options *FTSearchOptions, args ... type FTHybridResult (line 2156) | type FTHybridResult struct type FTHybridCursorResult (line 2164) | type FTHybridCursorResult struct type FTHybridCmd (line 2169) | type FTHybridCmd struct method String (line 2192) | func (cmd *FTHybridCmd) String() string { method SetVal (line 2196) | func (cmd *FTHybridCmd) SetVal(val FTHybridResult) { method Result (line 2200) | func (cmd *FTHybridCmd) Result() (FTHybridResult, error) { method CursorResult (line 2204) | func (cmd *FTHybridCmd) CursorResult() (*FTHybridCursorResult, error) { method Val (line 2208) | func (cmd *FTHybridCmd) Val() FTHybridResult { method CursorVal (line 2212) | func (cmd *FTHybridCmd) CursorVal() *FTHybridCursorResult { method RawVal (line 2216) | func (cmd *FTHybridCmd) RawVal() interface{} { method RawResult (line 2220) | func (cmd *FTHybridCmd) RawResult() (interface{}, error) { method readReply (line 2337) | func (cmd *FTHybridCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 2356) | func (cmd *FTHybridCmd) Clone() Cmder { function newFTHybridCmd (line 2177) | func newFTHybridCmd(ctx context.Context, options *FTHybridOptions, args ... function parseFTHybrid (line 2224) | func parseFTHybrid(data []interface{}, withCursor bool) (FTHybridResult,... method FTSearch (line 2466) | func (c cmdable) FTSearch(ctx context.Context, index string, query strin... type SearchQuery (line 2473) | type SearchQuery function FTSearchQuery (line 2481) | func FTSearchQuery(query string, options *FTSearchOptions) (SearchQuery,... method FTSearchWithArgs (line 2598) | func (c cmdable) FTSearchWithArgs(ctx context.Context, index string, que... function NewFTSynDumpCmd (line 2717) | func NewFTSynDumpCmd(ctx context.Context, args ...interface{}) *FTSynDum... method FTSynDump (line 2812) | func (c cmdable) FTSynDump(ctx context.Context, index string) *FTSynDump... method FTSynUpdate (line 2822) | func (c cmdable) FTSynUpdate(ctx context.Context, index string, synGroup... method FTSynUpdateWithArgs (line 2834) | func (c cmdable) FTSynUpdateWithArgs(ctx context.Context, index string, ... method FTTagVals (line 2849) | func (c cmdable) FTTagVals(ctx context.Context, index string, field stri... method FTHybrid (line 2859) | func (c cmdable) FTHybrid(ctx context.Context, index string, searchExpr ... method FTHybridWithArgs (line 2874) | func (c cmdable) FTHybridWithArgs(ctx context.Context, index string, opt... FILE: search_commands_parse_test.go function TestParseFTInfo (line 9) | func TestParseFTInfo(t *testing.T) { FILE: search_test.go function WaitForIndexing (line 18) | func WaitForIndexing(c *redis.Client, index string) { function encodeFloat32Vector (line 33) | func encodeFloat32Vector(vec []float32) []byte { function encodeFloat16Vector (line 41) | func encodeFloat16Vector(vec []float32) []byte { function _assert_geosearch_result (line 4182) | func _assert_geosearch_result(result *redis.FTSearchResult, expectedDocI... FILE: sentinel.go type FailoverOptions (line 27) | type FailoverOptions struct method clientOptions (line 178) | func (opt *FailoverOptions) clientOptions() *Options { method sentinelOptions (line 236) | func (opt *FailoverOptions) sentinelOptions(addr string) *Options { method clusterOptions (line 291) | func (opt *FailoverOptions) clusterOptions() *ClusterOptions { function ParseFailoverURL (line 387) | func ParseFailoverURL(redisURL string) (*FailoverOptions, error) { function setupFailoverConn (line 395) | func setupFailoverConn(u *url.URL) (*FailoverOptions, error) { function setupFailoverConnParams (line 430) | func setupFailoverConnParams(u *url.URL, o *FailoverOptions) (*FailoverO... function NewFailoverClient (line 504) | func NewFailoverClient(failoverOpt *FailoverOptions) *Client { function masterReplicaDialer (line 573) | func masterReplicaDialer( type SentinelClient (line 609) | type SentinelClient struct method GetPushNotificationHandler (line 653) | func (c *SentinelClient) GetPushNotificationHandler(pushNotificationNa... method RegisterPushNotificationHandler (line 660) | func (c *SentinelClient) RegisterPushNotificationHandler(pushNotificat... method Process (line 664) | func (c *SentinelClient) Process(ctx context.Context, cmd Cmder) error { method pubSub (line 670) | func (c *SentinelClient) pubSub() *PubSub { method Ping (line 703) | func (c *SentinelClient) Ping(ctx context.Context) *StringCmd { method Subscribe (line 711) | func (c *SentinelClient) Subscribe(ctx context.Context, channels ...st... method PSubscribe (line 721) | func (c *SentinelClient) PSubscribe(ctx context.Context, channels ...s... method GetMasterAddrByName (line 729) | func (c *SentinelClient) GetMasterAddrByName(ctx context.Context, name... method Sentinels (line 735) | func (c *SentinelClient) Sentinels(ctx context.Context, name string) *... method Failover (line 743) | func (c *SentinelClient) Failover(ctx context.Context, name string) *S... method Reset (line 753) | func (c *SentinelClient) Reset(ctx context.Context, pattern string) *I... method FlushConfig (line 761) | func (c *SentinelClient) FlushConfig(ctx context.Context) *StatusCmd { method Master (line 768) | func (c *SentinelClient) Master(ctx context.Context, name string) *Map... method Masters (line 775) | func (c *SentinelClient) Masters(ctx context.Context) *SliceCmd { method Replicas (line 782) | func (c *SentinelClient) Replicas(ctx context.Context, name string) *M... method CkQuorum (line 792) | func (c *SentinelClient) CkQuorum(ctx context.Context, name string) *S... method Monitor (line 800) | func (c *SentinelClient) Monitor(ctx context.Context, name, ip, port, ... method Set (line 807) | func (c *SentinelClient) Set(ctx context.Context, name, option, value ... method Remove (line 816) | func (c *SentinelClient) Remove(ctx context.Context, name string) *Str... function NewSentinelClient (line 613) | func NewSentinelClient(opt *Options) *SentinelClient { type sentinelFailover (line 824) | type sentinelFailover struct method Close (line 838) | func (c *sentinelFailover) Close() error { method closeSentinel (line 847) | func (c *sentinelFailover) closeSentinel() error { method RandomReplicaAddr (line 860) | func (c *sentinelFailover) RandomReplicaAddr(ctx context.Context) (str... method MasterAddr (line 883) | func (c *sentinelFailover) MasterAddr(ctx context.Context) (string, er... method replicaAddrs (line 971) | func (c *sentinelFailover) replicaAddrs(ctx context.Context, useDiscon... method getMasterAddr (line 1044) | func (c *sentinelFailover) getMasterAddr(ctx context.Context, sentinel... method getReplicaAddrs (line 1052) | func (c *sentinelFailover) getReplicaAddrs(ctx context.Context, sentin... method trySwitchMaster (line 1086) | func (c *sentinelFailover) trySwitchMaster(ctx context.Context, addr s... method setSentinel (line 1110) | func (c *sentinelFailover) setSentinel(ctx context.Context, sentinel *... method discoverSentinels (line 1121) | func (c *sentinelFailover) discoverSentinels(ctx context.Context) { method listen (line 1147) | func (c *sentinelFailover) listen(pubsub *PubSub) { function parseReplicaAddrs (line 1062) | func parseReplicaAddrs(addrs []map[string]string, keepDisconnected bool)... function contains (line 1172) | func contains(slice []string, str string) bool { function NewFailoverClusterClient (line 1185) | func NewFailoverClusterClient(failoverOpt *FailoverOptions) *ClusterClie... FILE: sentinel_test.go function TestParseSentinelURL (line 415) | func TestParseSentinelURL(t *testing.T) { function compareFailoverOptions (line 571) | func compareFailoverOptions(t *testing.T, a, e *redis.FailoverOptions) { function compareSlices (line 676) | func compareSlices(t *testing.T, a, b []string, name string) { FILE: set_commands.go type SetCmdable (line 11) | type SetCmdable interface method SAdd (line 40) | func (c cmdable) SAdd(ctx context.Context, key string, members ...interf... method SCard (line 56) | func (c cmdable) SCard(ctx context.Context, key string) *IntCmd { method SDiff (line 69) | func (c cmdable) SDiff(ctx context.Context, keys ...string) *StringSlice... method SDiffStore (line 87) | func (c cmdable) SDiffStore(ctx context.Context, destination string, key... method SInter (line 106) | func (c cmdable) SInter(ctx context.Context, keys ...string) *StringSlic... method SInterCard (line 127) | func (c cmdable) SInterCard(ctx context.Context, limit int64, keys ...st... method SInterStore (line 149) | func (c cmdable) SInterStore(ctx context.Context, destination string, ke... method SIsMember (line 168) | func (c cmdable) SIsMember(ctx context.Context, key string, member inter... method SMIsMember (line 181) | func (c cmdable) SMIsMember(ctx context.Context, key string, members ...... method SMembers (line 197) | func (c cmdable) SMembers(ctx context.Context, key string) *StringSliceC... method SMembersMap (line 209) | func (c cmdable) SMembersMap(ctx context.Context, key string) *StringStr... method SMove (line 222) | func (c cmdable) SMove(ctx context.Context, source, destination string, ... method SPop (line 234) | func (c cmdable) SPop(ctx context.Context, key string) *StringCmd { method SPopN (line 246) | func (c cmdable) SPopN(ctx context.Context, key string, count int64) *St... method SRandMember (line 258) | func (c cmdable) SRandMember(ctx context.Context, key string) *StringCmd { method SRandMemberN (line 272) | func (c cmdable) SRandMemberN(ctx context.Context, key string, count int... method SRem (line 285) | func (c cmdable) SRem(ctx context.Context, key string, members ...interf... method SUnion (line 301) | func (c cmdable) SUnion(ctx context.Context, keys ...string) *StringSlic... method SUnionStore (line 319) | func (c cmdable) SUnionStore(ctx context.Context, destination string, ke... method SScan (line 342) | func (c cmdable) SScan(ctx context.Context, key string, cursor uint64, m... FILE: sortedset_commands.go type SortedSetCmdable (line 12) | type SortedSetCmdable interface method BZPopMax (line 69) | func (c cmdable) BZPopMax(ctx context.Context, timeout time.Duration, ke... method BZPopMin (line 83) | func (c cmdable) BZPopMin(ctx context.Context, timeout time.Duration, ke... method BZMPop (line 101) | func (c cmdable) BZMPop(ctx context.Context, timeout time.Duration, orde... type ZAddArgs (line 117) | type ZAddArgs struct method zAddArgs (line 126) | func (c cmdable) zAddArgs(key string, args ZAddArgs, incr bool) []interf... method ZAddArgs (line 156) | func (c cmdable) ZAddArgs(ctx context.Context, key string, args ZAddArgs... method ZAddArgsIncr (line 162) | func (c cmdable) ZAddArgsIncr(ctx context.Context, key string, args ZAdd... method ZAdd (line 169) | func (c cmdable) ZAdd(ctx context.Context, key string, members ...Z) *In... method ZAddLT (line 176) | func (c cmdable) ZAddLT(ctx context.Context, key string, members ...Z) *... method ZAddGT (line 184) | func (c cmdable) ZAddGT(ctx context.Context, key string, members ...Z) *... method ZAddNX (line 192) | func (c cmdable) ZAddNX(ctx context.Context, key string, members ...Z) *... method ZAddXX (line 200) | func (c cmdable) ZAddXX(ctx context.Context, key string, members ...Z) *... method ZCard (line 207) | func (c cmdable) ZCard(ctx context.Context, key string) *IntCmd { method ZCount (line 213) | func (c cmdable) ZCount(ctx context.Context, key, min, max string) *IntC... method ZLexCount (line 219) | func (c cmdable) ZLexCount(ctx context.Context, key, min, max string) *I... method ZIncrBy (line 225) | func (c cmdable) ZIncrBy(ctx context.Context, key string, increment floa... method ZInterStore (line 231) | func (c cmdable) ZInterStore(ctx context.Context, destination string, st... method ZInter (line 241) | func (c cmdable) ZInter(ctx context.Context, store *ZStore) *StringSlice... method ZInterWithScores (line 251) | func (c cmdable) ZInterWithScores(ctx context.Context, store *ZStore) *Z... method ZInterCard (line 262) | func (c cmdable) ZInterCard(ctx context.Context, limit int64, keys ...st... method ZMPop (line 280) | func (c cmdable) ZMPop(ctx context.Context, order string, count int64, k... method ZMScore (line 293) | func (c cmdable) ZMScore(ctx context.Context, key string, members ...str... method ZPopMax (line 305) | func (c cmdable) ZPopMax(ctx context.Context, key string, count ...int64... method ZPopMin (line 327) | func (c cmdable) ZPopMin(ctx context.Context, key string, count ...int64... type ZRangeArgs (line 361) | type ZRangeArgs struct method appendArgs (line 402) | func (z ZRangeArgs) appendArgs(args []interface{}) []interface{} { method ZRangeArgs (line 424) | func (c cmdable) ZRangeArgs(ctx context.Context, z ZRangeArgs) *StringSl... method ZRangeArgsWithScores (line 433) | func (c cmdable) ZRangeArgsWithScores(ctx context.Context, z ZRangeArgs)... method ZRange (line 443) | func (c cmdable) ZRange(ctx context.Context, key string, start, stop int... method ZRangeWithScores (line 451) | func (c cmdable) ZRangeWithScores(ctx context.Context, key string, start... type ZRangeBy (line 459) | type ZRangeBy struct method zRangeBy (line 464) | func (c cmdable) zRangeBy(ctx context.Context, zcmd, key string, opt *ZR... method ZRangeByScore (line 485) | func (c cmdable) ZRangeByScore(ctx context.Context, key string, opt *ZRa... method ZRangeByLex (line 492) | func (c cmdable) ZRangeByLex(ctx context.Context, key string, opt *ZRang... method ZRangeByScoreWithScores (line 496) | func (c cmdable) ZRangeByScoreWithScores(ctx context.Context, key string... method ZRangeStore (line 511) | func (c cmdable) ZRangeStore(ctx context.Context, dst string, z ZRangeAr... method ZRank (line 520) | func (c cmdable) ZRank(ctx context.Context, key, member string) *IntCmd { method ZRankWithScore (line 528) | func (c cmdable) ZRankWithScore(ctx context.Context, key, member string)... method ZRem (line 534) | func (c cmdable) ZRem(ctx context.Context, key string, members ...interf... method ZRemRangeByRank (line 544) | func (c cmdable) ZRemRangeByRank(ctx context.Context, key string, start,... method ZRemRangeByScore (line 556) | func (c cmdable) ZRemRangeByScore(ctx context.Context, key, min, max str... method ZRemRangeByLex (line 562) | func (c cmdable) ZRemRangeByLex(ctx context.Context, key, min, max strin... method ZRevRange (line 571) | func (c cmdable) ZRevRange(ctx context.Context, key string, start, stop ... method ZRevRangeWithScores (line 579) | func (c cmdable) ZRevRangeWithScores(ctx context.Context, key string, st... method zRevRangeBy (line 585) | func (c cmdable) zRevRangeBy(ctx context.Context, zcmd, key string, opt ... method ZRevRangeByScore (line 603) | func (c cmdable) ZRevRangeByScore(ctx context.Context, key string, opt *... method ZRevRangeByLex (line 610) | func (c cmdable) ZRevRangeByLex(ctx context.Context, key string, opt *ZR... method ZRevRangeByScoreWithScores (line 614) | func (c cmdable) ZRevRangeByScoreWithScores(ctx context.Context, key str... method ZRevRank (line 629) | func (c cmdable) ZRevRank(ctx context.Context, key, member string) *IntC... method ZRevRankWithScore (line 635) | func (c cmdable) ZRevRankWithScore(ctx context.Context, key, member stri... method ZScore (line 641) | func (c cmdable) ZScore(ctx context.Context, key, member string) *FloatC... method ZUnion (line 647) | func (c cmdable) ZUnion(ctx context.Context, store ZStore) *StringSliceC... method ZUnionWithScores (line 657) | func (c cmdable) ZUnionWithScores(ctx context.Context, store ZStore) *ZS... method ZUnionStore (line 668) | func (c cmdable) ZUnionStore(ctx context.Context, dest string, store *ZS... method ZRandMember (line 679) | func (c cmdable) ZRandMember(ctx context.Context, key string, count int)... method ZRandMemberWithScores (line 686) | func (c cmdable) ZRandMemberWithScores(ctx context.Context, key string, ... method ZDiff (line 693) | func (c cmdable) ZDiff(ctx context.Context, keys ...string) *StringSlice... method ZDiffWithScores (line 708) | func (c cmdable) ZDiffWithScores(ctx context.Context, keys ...string) *Z... method ZDiffStore (line 724) | func (c cmdable) ZDiffStore(ctx context.Context, destination string, key... method ZScan (line 735) | func (c cmdable) ZScan(ctx context.Context, key string, cursor uint64, m... type Z (line 752) | type Z struct type ZWithKey (line 758) | type ZWithKey struct type ZStore (line 764) | type ZStore struct method len (line 771) | func (z ZStore) len() (n int) { method appendArgs (line 782) | func (z ZStore) appendArgs(args []interface{}) []interface{} { FILE: stream_commands.go type StreamCmdable (line 12) | type StreamCmdable interface type XAddArgs (line 68) | type XAddArgs struct method XAdd (line 84) | func (c cmdable) XAdd(ctx context.Context, a *XAddArgs) *StringCmd { method XAckDel (line 135) | func (c cmdable) XAckDel(ctx context.Context, stream string, group strin... method XDel (line 145) | func (c cmdable) XDel(ctx context.Context, stream string, ids ...string)... method XDelEx (line 155) | func (c cmdable) XDelEx(ctx context.Context, stream string, mode string,... method XLen (line 165) | func (c cmdable) XLen(ctx context.Context, stream string) *IntCmd { method XRange (line 171) | func (c cmdable) XRange(ctx context.Context, stream, start, stop string)... method XRangeN (line 177) | func (c cmdable) XRangeN(ctx context.Context, stream, start, stop string... method XRevRange (line 183) | func (c cmdable) XRevRange(ctx context.Context, stream, start, stop stri... method XRevRangeN (line 189) | func (c cmdable) XRevRangeN(ctx context.Context, stream, start, stop str... type XReadArgs (line 195) | type XReadArgs struct method XRead (line 202) | func (c cmdable) XRead(ctx context.Context, a *XReadArgs) *XStreamSliceC... method XReadStreams (line 237) | func (c cmdable) XReadStreams(ctx context.Context, streams ...string) *X... method XGroupCreate (line 244) | func (c cmdable) XGroupCreate(ctx context.Context, stream, group, start ... method XGroupCreateMkStream (line 251) | func (c cmdable) XGroupCreateMkStream(ctx context.Context, stream, group... method XGroupSetID (line 258) | func (c cmdable) XGroupSetID(ctx context.Context, stream, group, start s... method XGroupDestroy (line 265) | func (c cmdable) XGroupDestroy(ctx context.Context, stream, group string... method XGroupCreateConsumer (line 272) | func (c cmdable) XGroupCreateConsumer(ctx context.Context, stream, group... method XGroupDelConsumer (line 279) | func (c cmdable) XGroupDelConsumer(ctx context.Context, stream, group, c... type XReadGroupArgs (line 286) | type XReadGroupArgs struct method XReadGroup (line 296) | func (c cmdable) XReadGroup(ctx context.Context, a *XReadGroupArgs) *XSt... method XAck (line 352) | func (c cmdable) XAck(ctx context.Context, stream, group string, ids ...... method XPending (line 362) | func (c cmdable) XPending(ctx context.Context, stream, group string) *XP... type XPendingExtArgs (line 368) | type XPendingExtArgs struct method XPendingExt (line 378) | func (c cmdable) XPendingExt(ctx context.Context, a *XPendingExtArgs) *X... type XAutoClaimArgs (line 393) | type XAutoClaimArgs struct method XAutoClaim (line 402) | func (c cmdable) XAutoClaim(ctx context.Context, a *XAutoClaimArgs) *XAu... method XAutoClaimJustID (line 409) | func (c cmdable) XAutoClaimJustID(ctx context.Context, a *XAutoClaimArgs... function xAutoClaimArgs (line 417) | func xAutoClaimArgs(ctx context.Context, a *XAutoClaimArgs) []interface{} { type XClaimArgs (line 426) | type XClaimArgs struct method XClaim (line 434) | func (c cmdable) XClaim(ctx context.Context, a *XClaimArgs) *XMessageSli... method XClaimJustID (line 441) | func (c cmdable) XClaimJustID(ctx context.Context, a *XClaimArgs) *Strin... function xClaimArgs (line 449) | func xClaimArgs(a *XClaimArgs) []interface{} { method xTrim (line 471) | func (c cmdable) xTrim( method XTrimMaxLen (line 493) | func (c cmdable) XTrimMaxLen(ctx context.Context, key string, maxLen int... method XTrimMaxLenApprox (line 497) | func (c cmdable) XTrimMaxLenApprox(ctx context.Context, key string, maxL... method XTrimMinID (line 501) | func (c cmdable) XTrimMinID(ctx context.Context, key string, minID strin... method XTrimMinIDApprox (line 505) | func (c cmdable) XTrimMinIDApprox(ctx context.Context, key string, minID... method xTrimMode (line 509) | func (c cmdable) xTrimMode( method XTrimMaxLenMode (line 531) | func (c cmdable) XTrimMaxLenMode(ctx context.Context, key string, maxLen... method XTrimMaxLenApproxMode (line 535) | func (c cmdable) XTrimMaxLenApproxMode(ctx context.Context, key string, ... method XTrimMinIDMode (line 539) | func (c cmdable) XTrimMinIDMode(ctx context.Context, key string, minID s... method XTrimMinIDApproxMode (line 543) | func (c cmdable) XTrimMinIDApproxMode(ctx context.Context, key string, m... method XInfoConsumers (line 547) | func (c cmdable) XInfoConsumers(ctx context.Context, key string, group s... method XInfoGroups (line 553) | func (c cmdable) XInfoGroups(ctx context.Context, key string) *XInfoGrou... method XInfoStream (line 559) | func (c cmdable) XInfoStream(ctx context.Context, key string) *XInfoStre... method XInfoStreamFull (line 567) | func (c cmdable) XInfoStreamFull(ctx context.Context, key string, count ... type XCfgSetArgs (line 581) | type XCfgSetArgs struct method XCfgSet (line 589) | func (c cmdable) XCfgSet(ctx context.Context, a *XCfgSetArgs) *StatusCmd { FILE: string_commands.go type StringCmdable (line 9) | type StringCmdable interface method Append (line 45) | func (c cmdable) Append(ctx context.Context, key, value string) *IntCmd { method Decr (line 51) | func (c cmdable) Decr(ctx context.Context, key string) *IntCmd { method DecrBy (line 57) | func (c cmdable) DecrBy(ctx context.Context, key string, decrement int64... type DelExArgs (line 64) | type DelExArgs struct method DelExArgs (line 91) | func (c cmdable) DelExArgs(ctx context.Context, key string, a DelExArgs)... method Digest (line 127) | func (c cmdable) Digest(ctx context.Context, key string) *DigestCmd { method Get (line 134) | func (c cmdable) Get(ctx context.Context, key string) *StringCmd { method GetRange (line 140) | func (c cmdable) GetRange(ctx context.Context, key string, start, end in... method GetSet (line 149) | func (c cmdable) GetSet(ctx context.Context, key string, value interface... method GetEx (line 157) | func (c cmdable) GetEx(ctx context.Context, key string, expiration time.... method GetDel (line 176) | func (c cmdable) GetDel(ctx context.Context, key string) *StringCmd { method Incr (line 182) | func (c cmdable) Incr(ctx context.Context, key string) *IntCmd { method IncrBy (line 188) | func (c cmdable) IncrBy(ctx context.Context, key string, value int64) *I... method IncrByFloat (line 194) | func (c cmdable) IncrByFloat(ctx context.Context, key string, value floa... type SetCondition (line 200) | type SetCondition constant NX (line 204) | NX SetCondition = "NX" constant XX (line 206) | XX SetCondition = "XX" type ExpirationMode (line 209) | type ExpirationMode constant EX (line 213) | EX ExpirationMode = "EX" constant PX (line 215) | PX ExpirationMode = "PX" constant EXAT (line 217) | EXAT ExpirationMode = "EXAT" constant PXAT (line 219) | PXAT ExpirationMode = "PXAT" constant KEEPTTL (line 221) | KEEPTTL ExpirationMode = "KEEPTTL" type ExpirationOption (line 224) | type ExpirationOption struct method LCS (line 229) | func (c cmdable) LCS(ctx context.Context, q *LCSQuery) *LCSCmd { method MGet (line 235) | func (c cmdable) MGet(ctx context.Context, keys ...string) *SliceCmd { method MSet (line 251) | func (c cmdable) MSet(ctx context.Context, values ...interface{}) *Statu... method MSetNX (line 265) | func (c cmdable) MSetNX(ctx context.Context, values ...interface{}) *Boo... type MSetEXArgs (line 274) | type MSetEXArgs struct method MSetEX (line 285) | func (c cmdable) MSetEX(ctx context.Context, args MSetEXArgs, values ...... method Set (line 323) | func (c cmdable) Set(ctx context.Context, key string, value interface{},... type SetArgs (line 344) | type SetArgs struct method SetArgs (line 378) | func (c cmdable) SetArgs(ctx context.Context, key string, value interfac... method SetEx (line 424) | func (c cmdable) SetEx(ctx context.Context, key string, value interface{... method SetNX (line 435) | func (c cmdable) SetNX(ctx context.Context, key string, value interface{... method SetXX (line 459) | func (c cmdable) SetXX(ctx context.Context, key string, value interface{... method SetIFEQ (line 487) | func (c cmdable) SetIFEQ(ctx context.Context, key string, value interfac... method SetIFEQGet (line 517) | func (c cmdable) SetIFEQGet(ctx context.Context, key string, value inter... method SetIFNE (line 546) | func (c cmdable) SetIFNE(ctx context.Context, key string, value interfac... method SetIFNEGet (line 576) | func (c cmdable) SetIFNEGet(ctx context.Context, key string, value inter... method SetIFDEQ (line 612) | func (c cmdable) SetIFDEQ(ctx context.Context, key string, value interfa... method SetIFDEQGet (line 649) | func (c cmdable) SetIFDEQGet(ctx context.Context, key string, value inte... method SetIFDNE (line 685) | func (c cmdable) SetIFDNE(ctx context.Context, key string, value interfa... method SetIFDNEGet (line 722) | func (c cmdable) SetIFDNEGet(ctx context.Context, key string, value inte... method SetRange (line 742) | func (c cmdable) SetRange(ctx context.Context, key string, offset int64,... method StrLen (line 748) | func (c cmdable) StrLen(ctx context.Context, key string) *IntCmd { FILE: timeseries_commands.go type TimeseriesCmdable (line 10) | type TimeseriesCmdable interface type TSOptions (line 42) | type TSOptions struct type TSIncrDecrOptions (line 51) | type TSIncrDecrOptions struct type TSAlterOptions (line 62) | type TSAlterOptions struct type TSCreateRuleOptions (line 71) | type TSCreateRuleOptions struct type TSGetOptions (line 75) | type TSGetOptions struct type TSInfoOptions (line 79) | type TSInfoOptions struct type Aggregator (line 82) | type Aggregator method String (line 103) | func (a Aggregator) String() string { constant Invalid (line 85) | Invalid = Aggregator(iota) constant Avg (line 86) | Avg constant Sum (line 87) | Sum constant Min (line 88) | Min constant Max (line 89) | Max constant Range (line 90) | Range constant Count (line 91) | Count constant First (line 92) | First constant Last (line 93) | Last constant StdP (line 94) | StdP constant StdS (line 95) | StdS constant VarP (line 96) | VarP constant VarS (line 97) | VarS constant Twa (line 98) | Twa constant CountNaN (line 99) | CountNaN constant CountAll (line 100) | CountAll type TSRangeOptions (line 142) | type TSRangeOptions struct type TSRevRangeOptions (line 154) | type TSRevRangeOptions struct type TSMRangeOptions (line 166) | type TSMRangeOptions struct type TSMRevRangeOptions (line 182) | type TSMRevRangeOptions struct type TSMGetOptions (line 198) | type TSMGetOptions struct method TSAdd (line 206) | func (c cmdable) TSAdd(ctx context.Context, key string, timestamp interf... method TSAddWithArgs (line 217) | func (c cmdable) TSAddWithArgs(ctx context.Context, key string, timestam... method TSCreate (line 250) | func (c cmdable) TSCreate(ctx context.Context, key string) *StatusCmd { method TSCreateWithArgs (line 261) | func (c cmdable) TSCreateWithArgs(ctx context.Context, key string, optio... method TSAlter (line 296) | func (c cmdable) TSAlter(ctx context.Context, key string, options *TSAlt... method TSCreateRule (line 325) | func (c cmdable) TSCreateRule(ctx context.Context, sourceKey string, des... method TSCreateRuleWithArgs (line 336) | func (c cmdable) TSCreateRuleWithArgs(ctx context.Context, sourceKey str... method TSIncrBy (line 350) | func (c cmdable) TSIncrBy(ctx context.Context, Key string, timestamp flo... method TSIncrByWithArgs (line 361) | func (c cmdable) TSIncrByWithArgs(ctx context.Context, key string, times... method TSDecrBy (line 396) | func (c cmdable) TSDecrBy(ctx context.Context, Key string, timestamp flo... method TSDecrByWithArgs (line 407) | func (c cmdable) TSDecrByWithArgs(ctx context.Context, key string, times... method TSDel (line 442) | func (c cmdable) TSDel(ctx context.Context, Key string, fromTimestamp in... method TSDeleteRule (line 451) | func (c cmdable) TSDeleteRule(ctx context.Context, sourceKey string, des... method TSGetWithArgs (line 462) | func (c cmdable) TSGetWithArgs(ctx context.Context, key string, options ... method TSGet (line 476) | func (c cmdable) TSGet(ctx context.Context, key string) *TSTimestampValu... type TSTimestampValue (line 483) | type TSTimestampValue struct type TSTimestampValueCmd (line 487) | type TSTimestampValueCmd struct method String (line 502) | func (cmd *TSTimestampValueCmd) String() string { method SetVal (line 506) | func (cmd *TSTimestampValueCmd) SetVal(val TSTimestampValue) { method Result (line 510) | func (cmd *TSTimestampValueCmd) Result() (TSTimestampValue, error) { method Val (line 514) | func (cmd *TSTimestampValueCmd) Val() TSTimestampValue { method readReply (line 518) | func (cmd *TSTimestampValueCmd) readReply(rd *proto.Reader) (err error) { method Clone (line 543) | func (cmd *TSTimestampValueCmd) Clone() Cmder { function newTSTimestampValueCmd (line 492) | func newTSTimestampValueCmd(ctx context.Context, args ...interface{}) *T... method TSInfo (line 552) | func (c cmdable) TSInfo(ctx context.Context, key string) *MapStringInter... method TSInfoWithArgs (line 563) | func (c cmdable) TSInfoWithArgs(ctx context.Context, key string, options... method TSMAdd (line 579) | func (c cmdable) TSMAdd(ctx context.Context, ktvSlices [][]interface{}) ... method TSQueryIndex (line 591) | func (c cmdable) TSQueryIndex(ctx context.Context, filterExpr []string) ... method TSRevRange (line 603) | func (c cmdable) TSRevRange(ctx context.Context, key string, fromTimesta... method TSRevRangeWithArgs (line 615) | func (c cmdable) TSRevRangeWithArgs(ctx context.Context, key string, fro... method TSRange (line 659) | func (c cmdable) TSRange(ctx context.Context, key string, fromTimestamp ... method TSRangeWithArgs (line 671) | func (c cmdable) TSRangeWithArgs(ctx context.Context, key string, fromTi... type TSTimestampValueSliceCmd (line 713) | type TSTimestampValueSliceCmd struct method String (line 728) | func (cmd *TSTimestampValueSliceCmd) String() string { method SetVal (line 732) | func (cmd *TSTimestampValueSliceCmd) SetVal(val []TSTimestampValue) { method Result (line 736) | func (cmd *TSTimestampValueSliceCmd) Result() ([]TSTimestampValue, err... method Val (line 740) | func (cmd *TSTimestampValueSliceCmd) Val() []TSTimestampValue { method readReply (line 744) | func (cmd *TSTimestampValueSliceCmd) readReply(rd *proto.Reader) (err ... method Clone (line 770) | func (cmd *TSTimestampValueSliceCmd) Clone() Cmder { function newTSTimestampValueSliceCmd (line 718) | func newTSTimestampValueSliceCmd(ctx context.Context, args ...interface{... method TSMRange (line 784) | func (c cmdable) TSMRange(ctx context.Context, fromTimestamp int, toTime... method TSMRangeWithArgs (line 800) | func (c cmdable) TSMRangeWithArgs(ctx context.Context, fromTimestamp int... method TSMRevRange (line 863) | func (c cmdable) TSMRevRange(ctx context.Context, fromTimestamp int, toT... method TSMRevRangeWithArgs (line 879) | func (c cmdable) TSMRevRangeWithArgs(ctx context.Context, fromTimestamp ... method TSMGet (line 942) | func (c cmdable) TSMGet(ctx context.Context, filters []string) *MapStrin... method TSMGetWithArgs (line 956) | func (c cmdable) TSMGetWithArgs(ctx context.Context, filters []string, o... FILE: tls_cert_auth_test.go function init (line 15) | func init() { function skipBeforeRedisVersion (line 26) | func skipBeforeRedisVersion(t *testing.T, version float64, msg string) { function TestTLSCertificateAuthentication (line 46) | func TestTLSCertificateAuthentication(t *testing.T) { function TestTLSCertificateAuthenticationNoUser (line 176) | func TestTLSCertificateAuthenticationNoUser(t *testing.T) { FILE: tls_standalone_test.go function TestTLSStandalone (line 11) | func TestTLSStandalone(t *testing.T) { function TestTLSRedissURL (line 53) | func TestTLSRedissURL(t *testing.T) { FILE: tls_test.go function loadTLSConfig (line 16) | func loadTLSConfig(certDir string) (*tls.Config, error) { FILE: tx.go constant TxFailedErr (line 11) | TxFailedErr = proto.RedisError("redis: transaction failed") type Tx (line 18) | type Tx struct method init (line 37) | func (c *Tx) init() { method Process (line 49) | func (c *Tx) Process(ctx context.Context, cmd Cmder) error { method Close (line 71) | func (c *Tx) Close(ctx context.Context) error { method Watch (line 78) | func (c *Tx) Watch(ctx context.Context, keys ...string) *StatusCmd { method Unwatch (line 90) | func (c *Tx) Unwatch(ctx context.Context, keys ...string) *StatusCmd { method Pipeline (line 102) | func (c *Tx) Pipeline() Pipeliner { method Pipelined (line 114) | func (c *Tx) Pipelined(ctx context.Context, fn func(Pipeliner) error) ... method TxPipelined (line 126) | func (c *Tx) TxPipelined(ctx context.Context, fn func(Pipeliner) error... method TxPipeline (line 131) | func (c *Tx) TxPipeline() Pipeliner { method newTx (line 24) | func (c *Client) newTx() *Tx { method Watch (line 59) | func (c *Client) Watch(ctx context.Context, fn func(*Tx) error, keys ...... function wrapMultiExec (line 142) | func wrapMultiExec(ctx context.Context, cmds []Cmder) []Cmder { FILE: unit_test.go type mockCmdable (line 9) | type mockCmdable struct method call (line 14) | func (m *mockCmdable) call(_ context.Context, cmd Cmder) error { method asCmdable (line 22) | func (m *mockCmdable) asCmdable() cmdable { FILE: universal.go type UniversalOptions (line 16) | type UniversalOptions struct method Cluster (line 154) | func (o *UniversalOptions) Cluster() *ClusterOptions { method Failover (line 216) | func (o *UniversalOptions) Failover() *FailoverOptions { method Simple (line 283) | func (o *UniversalOptions) Simple() *Options { type UniversalClient (line 346) | type UniversalClient interface function NewUniversalClient (line 375) | func NewUniversalClient(opts *UniversalOptions) UniversalClient { FILE: vectorset_commands.go type VectorSetCmdable (line 10) | type VectorSetCmdable interface type Vector (line 32) | type Vector interface constant vectorFormatFP32 (line 37) | vectorFormatFP32 string = "FP32" constant vectorFormatValues (line 38) | vectorFormatValues string = "Values" type VectorFP32 (line 41) | type VectorFP32 struct method Value (line 45) | func (v *VectorFP32) Value() []any { type VectorValues (line 51) | type VectorValues struct method Value (line 55) | func (v *VectorValues) Value() []any { type VectorRef (line 67) | type VectorRef struct method Value (line 71) | func (v *VectorRef) Value() []any { type VectorScore (line 77) | type VectorScore struct method VAdd (line 84) | func (c cmdable) VAdd(ctx context.Context, key, element string, val Vect... type VAddArgs (line 88) | type VAddArgs struct method reduce (line 103) | func (v VAddArgs) reduce() int64 { method appendArgs (line 107) | func (v VAddArgs) appendArgs(args []any) []any { method VAddWithArgs (line 134) | func (c cmdable) VAddWithArgs(ctx context.Context, key, element string, ... method VCard (line 152) | func (c cmdable) VCard(ctx context.Context, key string) *IntCmd { method VDim (line 160) | func (c cmdable) VDim(ctx context.Context, key string) *IntCmd { method VEmb (line 168) | func (c cmdable) VEmb(ctx context.Context, key, element string, raw bool... method VGetAttr (line 180) | func (c cmdable) VGetAttr(ctx context.Context, key, element string) *Str... method VInfo (line 188) | func (c cmdable) VInfo(ctx context.Context, key string) *MapStringInterf... method VLinks (line 196) | func (c cmdable) VLinks(ctx context.Context, key, element string) *Strin... method VLinksWithScores (line 204) | func (c cmdable) VLinksWithScores(ctx context.Context, key, element stri... method VRandMember (line 212) | func (c cmdable) VRandMember(ctx context.Context, key string) *StringCmd { method VRandMemberCount (line 220) | func (c cmdable) VRandMemberCount(ctx context.Context, key string, count... method VRem (line 228) | func (c cmdable) VRem(ctx context.Context, key, element string) *BoolCmd { method VSetAttr (line 239) | func (c cmdable) VSetAttr(ctx context.Context, key, element string, attr... method VClearAttributes (line 266) | func (c cmdable) VClearAttributes(ctx context.Context, key, element stri... method VSim (line 274) | func (c cmdable) VSim(ctx context.Context, key string, val Vector) *Stri... method VSimWithScores (line 280) | func (c cmdable) VSimWithScores(ctx context.Context, key string, val Vec... type VSimArgs (line 284) | type VSimArgs struct method appendArgs (line 294) | func (v VSimArgs) appendArgs(args []any) []any { method VSimWithArgs (line 322) | func (c cmdable) VSimWithArgs(ctx context.Context, key string, val Vecto... method VSimWithArgsWithScores (line 337) | func (c cmdable) VSimWithArgsWithScores(ctx context.Context, key string,... method VRange (line 353) | func (c cmdable) VRange(ctx context.Context, key, start, end string, cou... FILE: vectorset_commands_integration_test.go function expectNil (line 15) | func expectNil(err error) { function expectTrue (line 19) | func expectTrue(t bool) { function expectEqual (line 23) | func expectEqual[T any, U any](a T, b U) { function generateRandomVector (line 27) | func generateRandomVector(dim int) redis.VectorValues { FILE: vectorset_commands_test.go function TestVectorFP32_Value (line 10) | func TestVectorFP32_Value(t *testing.T) { function TestVectorValues_Value (line 19) | func TestVectorValues_Value(t *testing.T) { function TestVectorRef_Value (line 28) | func TestVectorRef_Value(t *testing.T) { function TestVAdd (line 37) | func TestVAdd(t *testing.T) { function TestVAddWithArgs_AllOptions (line 51) | func TestVAddWithArgs_AllOptions(t *testing.T) { function TestVCard (line 71) | func TestVCard(t *testing.T) { function TestVDim (line 81) | func TestVDim(t *testing.T) { function TestVEmb (line 91) | func TestVEmb(t *testing.T) { function TestVGetAttr (line 101) | func TestVGetAttr(t *testing.T) { function TestVInfo (line 111) | func TestVInfo(t *testing.T) { function TestVLinks (line 121) | func TestVLinks(t *testing.T) { function TestVLinksWithScores (line 131) | func TestVLinksWithScores(t *testing.T) { function TestVRandMember (line 141) | func TestVRandMember(t *testing.T) { function TestVRandMemberCount (line 151) | func TestVRandMemberCount(t *testing.T) { function TestVRem (line 161) | func TestVRem(t *testing.T) { function TestVSetAttr_String (line 171) | func TestVSetAttr_String(t *testing.T) { function TestVSetAttr_Bytes (line 181) | func TestVSetAttr_Bytes(t *testing.T) { function TestVSetAttr_MarshalStruct (line 191) | func TestVSetAttr_MarshalStruct(t *testing.T) { function TestVSetAttr_MarshalError (line 203) | func TestVSetAttr_MarshalError(t *testing.T) { function TestVClearAttributes (line 213) | func TestVClearAttributes(t *testing.T) { function TestVSim (line 223) | func TestVSim(t *testing.T) { function TestVSimWithScores (line 234) | func TestVSimWithScores(t *testing.T) { function TestVSimWithArgs_AllOptions (line 245) | func TestVSimWithArgs_AllOptions(t *testing.T) { function TestVSimWithArgsWithScores_AllOptions (line 265) | func TestVSimWithArgsWithScores_AllOptions(t *testing.T) { function TestVectorValues_EmptySlice (line 287) | func TestVectorValues_EmptySlice(t *testing.T) { function TestVEmb_WithoutRaw (line 296) | func TestVEmb_WithoutRaw(t *testing.T) { function TestVAddWithArgs_Q8Option (line 309) | func TestVAddWithArgs_Q8Option(t *testing.T) { function TestVAddWithArgs_BinOption (line 328) | func TestVAddWithArgs_BinOption(t *testing.T) { function TestVAddWithArgs_NilArgs (line 347) | func TestVAddWithArgs_NilArgs(t *testing.T) { function TestVSimWithArgs_NilArgs (line 358) | func TestVSimWithArgs_NilArgs(t *testing.T) { function TestVSimWithArgsWithScores_NilArgs (line 369) | func TestVSimWithArgsWithScores_NilArgs(t *testing.T) { function TestVAdd_WithVectorFP32 (line 391) | func TestVAdd_WithVectorFP32(t *testing.T) { function TestVAdd_WithVectorRef (line 413) | func TestVAdd_WithVectorRef(t *testing.T) { function TestVSim_WithVectorFP32 (line 435) | func TestVSim_WithVectorFP32(t *testing.T) { function TestVSim_WithVectorRef (line 457) | func TestVSim_WithVectorRef(t *testing.T) { function TestVAddWithArgs_ReduceOption (line 479) | func TestVAddWithArgs_ReduceOption(t *testing.T) { function TestVAddWithArgs_ZeroValues (line 492) | func TestVAddWithArgs_ZeroValues(t *testing.T) { function TestVSimArgs_IndividualOptions (line 509) | func TestVSimArgs_IndividualOptions(t *testing.T) { FILE: version.go function Version (line 4) | func Version() string {