github.com/wfusion/gofusion@v1.1.14/redis/wrap.go (about) 1 package redis 2 3 import ( 4 "context" 5 "time" 6 7 rdsDrv "github.com/redis/go-redis/v9" 8 ) 9 10 func (i *instance) Pipeline() rdsDrv.Pipeliner { 11 return i.GetProxy().Pipeline() 12 } 13 func (i *instance) Pipelined(ctx context.Context, fn func(rdsDrv.Pipeliner) error) ([]rdsDrv.Cmder, error) { 14 return i.GetProxy().Pipelined(ctx, fn) 15 } 16 func (i *instance) TxPipelined(ctx context.Context, fn func(rdsDrv.Pipeliner) error) ([]rdsDrv.Cmder, error) { 17 return i.GetProxy().TxPipelined(ctx, fn) 18 } 19 func (i *instance) TxPipeline() rdsDrv.Pipeliner { 20 return i.GetProxy().TxPipeline() 21 } 22 func (i *instance) Command(ctx context.Context) *rdsDrv.CommandsInfoCmd { 23 return i.GetProxy().Command(ctx) 24 } 25 func (i *instance) CommandList(ctx context.Context, filter *rdsDrv.FilterBy) *rdsDrv.StringSliceCmd { 26 return i.GetProxy().CommandList(ctx, filter) 27 } 28 func (i *instance) CommandGetKeys(ctx context.Context, commands ...any) *rdsDrv.StringSliceCmd { 29 return i.GetProxy().CommandGetKeys(ctx, commands...) 30 } 31 func (i *instance) CommandGetKeysAndFlags(ctx context.Context, commands ...any) *rdsDrv.KeyFlagsCmd { 32 return i.GetProxy().CommandGetKeysAndFlags(ctx, commands...) 33 } 34 func (i *instance) ClientGetName(ctx context.Context) *rdsDrv.StringCmd { 35 return i.GetProxy().ClientGetName(ctx) 36 } 37 func (i *instance) Echo(ctx context.Context, message any) *rdsDrv.StringCmd { 38 return i.GetProxy().Echo(ctx, message) 39 } 40 func (i *instance) Ping(ctx context.Context) *rdsDrv.StatusCmd { 41 return i.GetProxy().Ping(ctx) 42 } 43 func (i *instance) Quit(ctx context.Context) *rdsDrv.StatusCmd { 44 return i.GetProxy().Quit(ctx) 45 } 46 func (i *instance) Del(ctx context.Context, keys ...string) *rdsDrv.IntCmd { 47 return i.GetProxy().Del(ctx, keys...) 48 } 49 func (i *instance) Unlink(ctx context.Context, keys ...string) *rdsDrv.IntCmd { 50 return i.GetProxy().Unlink(ctx, keys...) 51 } 52 func (i *instance) Dump(ctx context.Context, key string) *rdsDrv.StringCmd { 53 return i.GetProxy().Dump(ctx, key) 54 } 55 func (i *instance) Exists(ctx context.Context, keys ...string) *rdsDrv.IntCmd { 56 return i.GetProxy().Exists(ctx, keys...) 57 } 58 func (i *instance) Expire(ctx context.Context, key string, expiration time.Duration) *rdsDrv.BoolCmd { 59 return i.GetProxy().Expire(ctx, key, expiration) 60 } 61 func (i *instance) ExpireAt(ctx context.Context, key string, tm time.Time) *rdsDrv.BoolCmd { 62 return i.GetProxy().ExpireAt(ctx, key, tm) 63 } 64 func (i *instance) ExpireTime(ctx context.Context, key string) *rdsDrv.DurationCmd { 65 return i.GetProxy().ExpireTime(ctx, key) 66 } 67 func (i *instance) ExpireNX(ctx context.Context, key string, expiration time.Duration) *rdsDrv.BoolCmd { 68 return i.GetProxy().ExpireNX(ctx, key, expiration) 69 } 70 func (i *instance) ExpireXX(ctx context.Context, key string, expiration time.Duration) *rdsDrv.BoolCmd { 71 return i.GetProxy().ExpireXX(ctx, key, expiration) 72 } 73 func (i *instance) ExpireGT(ctx context.Context, key string, expiration time.Duration) *rdsDrv.BoolCmd { 74 return i.GetProxy().ExpireGT(ctx, key, expiration) 75 } 76 func (i *instance) ExpireLT(ctx context.Context, key string, expiration time.Duration) *rdsDrv.BoolCmd { 77 return i.GetProxy().ExpireLT(ctx, key, expiration) 78 } 79 func (i *instance) Keys(ctx context.Context, pattern string) *rdsDrv.StringSliceCmd { 80 return i.GetProxy().Keys(ctx, pattern) 81 } 82 func (i *instance) Migrate(ctx context.Context, host, port, key string, db int, 83 timeout time.Duration) *rdsDrv.StatusCmd { 84 return i.GetProxy().Migrate(ctx, host, port, key, db, timeout) 85 } 86 func (i *instance) Move(ctx context.Context, key string, db int) *rdsDrv.BoolCmd { 87 return i.GetProxy().Move(ctx, key, db) 88 } 89 func (i *instance) ObjectRefCount(ctx context.Context, key string) *rdsDrv.IntCmd { 90 return i.GetProxy().ObjectRefCount(ctx, key) 91 } 92 func (i *instance) ObjectEncoding(ctx context.Context, key string) *rdsDrv.StringCmd { 93 return i.GetProxy().ObjectEncoding(ctx, key) 94 } 95 func (i *instance) ObjectIdleTime(ctx context.Context, key string) *rdsDrv.DurationCmd { 96 return i.GetProxy().ObjectIdleTime(ctx, key) 97 } 98 func (i *instance) Persist(ctx context.Context, key string) *rdsDrv.BoolCmd { 99 return i.GetProxy().Persist(ctx, key) 100 } 101 func (i *instance) PExpire(ctx context.Context, key string, expiration time.Duration) *rdsDrv.BoolCmd { 102 return i.GetProxy().PExpire(ctx, key, expiration) 103 } 104 func (i *instance) PExpireAt(ctx context.Context, key string, tm time.Time) *rdsDrv.BoolCmd { 105 return i.GetProxy().PExpireAt(ctx, key, tm) 106 } 107 func (i *instance) PExpireTime(ctx context.Context, key string) *rdsDrv.DurationCmd { 108 return i.GetProxy().PExpireTime(ctx, key) 109 } 110 func (i *instance) PTTL(ctx context.Context, key string) *rdsDrv.DurationCmd { 111 return i.GetProxy().PTTL(ctx, key) 112 } 113 func (i *instance) RandomKey(ctx context.Context) *rdsDrv.StringCmd { 114 return i.GetProxy().RandomKey(ctx) 115 } 116 func (i *instance) Rename(ctx context.Context, key, newkey string) *rdsDrv.StatusCmd { 117 return i.GetProxy().Rename(ctx, key, newkey) 118 } 119 func (i *instance) RenameNX(ctx context.Context, key, newkey string) *rdsDrv.BoolCmd { 120 return i.GetProxy().RenameNX(ctx, key, newkey) 121 } 122 func (i *instance) Restore(ctx context.Context, key string, ttl time.Duration, value string) *rdsDrv.StatusCmd { 123 return i.GetProxy().Restore(ctx, key, ttl, value) 124 } 125 func (i *instance) RestoreReplace(ctx context.Context, key string, ttl time.Duration, value string) *rdsDrv.StatusCmd { 126 return i.GetProxy().RestoreReplace(ctx, key, ttl, value) 127 } 128 func (i *instance) Sort(ctx context.Context, key string, sort *rdsDrv.Sort) *rdsDrv.StringSliceCmd { 129 return i.GetProxy().Sort(ctx, key, sort) 130 } 131 func (i *instance) SortRO(ctx context.Context, key string, sort *rdsDrv.Sort) *rdsDrv.StringSliceCmd { 132 return i.GetProxy().SortRO(ctx, key, sort) 133 } 134 func (i *instance) SortStore(ctx context.Context, key, store string, sort *rdsDrv.Sort) *rdsDrv.IntCmd { 135 return i.GetProxy().SortStore(ctx, key, store, sort) 136 } 137 func (i *instance) SortInterfaces(ctx context.Context, key string, sort *rdsDrv.Sort) *rdsDrv.SliceCmd { 138 return i.GetProxy().SortInterfaces(ctx, key, sort) 139 } 140 func (i *instance) Touch(ctx context.Context, keys ...string) *rdsDrv.IntCmd { 141 return i.GetProxy().Touch(ctx, keys...) 142 } 143 func (i *instance) TTL(ctx context.Context, key string) *rdsDrv.DurationCmd { 144 return i.GetProxy().TTL(ctx, key) 145 } 146 func (i *instance) Type(ctx context.Context, key string) *rdsDrv.StatusCmd { 147 return i.GetProxy().Type(ctx, key) 148 } 149 func (i *instance) Append(ctx context.Context, key, value string) *rdsDrv.IntCmd { 150 return i.GetProxy().Append(ctx, key, value) 151 } 152 func (i *instance) Decr(ctx context.Context, key string) *rdsDrv.IntCmd { 153 return i.GetProxy().Decr(ctx, key) 154 } 155 func (i *instance) DecrBy(ctx context.Context, key string, decrement int64) *rdsDrv.IntCmd { 156 return i.GetProxy().DecrBy(ctx, key, decrement) 157 } 158 func (i *instance) Get(ctx context.Context, key string) *rdsDrv.StringCmd { 159 return i.GetProxy().Get(ctx, key) 160 } 161 func (i *instance) GetRange(ctx context.Context, key string, start, end int64) *rdsDrv.StringCmd { 162 return i.GetProxy().GetRange(ctx, key, start, end) 163 } 164 func (i *instance) GetSet(ctx context.Context, key string, value any) *rdsDrv.StringCmd { 165 return i.GetProxy().GetSet(ctx, key, value) 166 } 167 func (i *instance) GetEx(ctx context.Context, key string, expiration time.Duration) *rdsDrv.StringCmd { 168 return i.GetProxy().GetEx(ctx, key, expiration) 169 } 170 func (i *instance) GetDel(ctx context.Context, key string) *rdsDrv.StringCmd { 171 return i.GetProxy().GetDel(ctx, key) 172 } 173 func (i *instance) Incr(ctx context.Context, key string) *rdsDrv.IntCmd { 174 return i.GetProxy().Incr(ctx, key) 175 } 176 func (i *instance) IncrBy(ctx context.Context, key string, value int64) *rdsDrv.IntCmd { 177 return i.GetProxy().IncrBy(ctx, key, value) 178 } 179 func (i *instance) IncrByFloat(ctx context.Context, key string, value float64) *rdsDrv.FloatCmd { 180 return i.GetProxy().IncrByFloat(ctx, key, value) 181 } 182 func (i *instance) MGet(ctx context.Context, keys ...string) *rdsDrv.SliceCmd { 183 return i.GetProxy().MGet(ctx, keys...) 184 } 185 func (i *instance) MSet(ctx context.Context, values ...any) *rdsDrv.StatusCmd { 186 return i.GetProxy().MSet(ctx, values...) 187 } 188 func (i *instance) MSetNX(ctx context.Context, values ...any) *rdsDrv.BoolCmd { 189 return i.GetProxy().MSetNX(ctx, values...) 190 } 191 func (i *instance) Set(ctx context.Context, key string, value any, expiration time.Duration) *rdsDrv.StatusCmd { 192 return i.GetProxy().Set(ctx, key, value, expiration) 193 } 194 func (i *instance) SetArgs(ctx context.Context, key string, value any, a rdsDrv.SetArgs) *rdsDrv.StatusCmd { 195 return i.GetProxy().SetArgs(ctx, key, value, a) 196 } 197 func (i *instance) SetEx(ctx context.Context, key string, value any, 198 expiration time.Duration) *rdsDrv.StatusCmd { 199 return i.GetProxy().SetEx(ctx, key, value, expiration) 200 } 201 func (i *instance) SetNX(ctx context.Context, key string, value any, expiration time.Duration) *rdsDrv.BoolCmd { 202 return i.GetProxy().SetNX(ctx, key, value, expiration) 203 } 204 func (i *instance) SetXX(ctx context.Context, key string, value any, expiration time.Duration) *rdsDrv.BoolCmd { 205 return i.GetProxy().SetXX(ctx, key, value, expiration) 206 } 207 func (i *instance) SetRange(ctx context.Context, key string, offset int64, value string) *rdsDrv.IntCmd { 208 return i.GetProxy().SetRange(ctx, key, offset, value) 209 } 210 func (i *instance) StrLen(ctx context.Context, key string) *rdsDrv.IntCmd { 211 return i.GetProxy().StrLen(ctx, key) 212 } 213 func (i *instance) Copy(ctx context.Context, sourceKey string, destKey string, db int, replace bool) *rdsDrv.IntCmd { 214 return i.GetProxy().Copy(ctx, sourceKey, destKey, db, replace) 215 } 216 func (i *instance) GetBit(ctx context.Context, key string, offset int64) *rdsDrv.IntCmd { 217 return i.GetProxy().GetBit(ctx, key, offset) 218 } 219 func (i *instance) SetBit(ctx context.Context, key string, offset int64, value int) *rdsDrv.IntCmd { 220 return i.GetProxy().SetBit(ctx, key, offset, value) 221 } 222 func (i *instance) BitCount(ctx context.Context, key string, bitCount *rdsDrv.BitCount) *rdsDrv.IntCmd { 223 return i.GetProxy().BitCount(ctx, key, bitCount) 224 } 225 func (i *instance) BitOpAnd(ctx context.Context, destKey string, keys ...string) *rdsDrv.IntCmd { 226 return i.GetProxy().BitOpAnd(ctx, destKey, keys...) 227 } 228 func (i *instance) BitOpOr(ctx context.Context, destKey string, keys ...string) *rdsDrv.IntCmd { 229 return i.GetProxy().BitOpOr(ctx, destKey, keys...) 230 } 231 func (i *instance) BitOpXor(ctx context.Context, destKey string, keys ...string) *rdsDrv.IntCmd { 232 return i.GetProxy().BitOpXor(ctx, destKey, keys...) 233 } 234 func (i *instance) BitOpNot(ctx context.Context, destKey string, key string) *rdsDrv.IntCmd { 235 return i.GetProxy().BitOpNot(ctx, destKey, key) 236 } 237 func (i *instance) BitPos(ctx context.Context, key string, bit int64, pos ...int64) *rdsDrv.IntCmd { 238 return i.GetProxy().BitPos(ctx, key, bit, pos...) 239 } 240 func (i *instance) BitPosSpan(ctx context.Context, key string, bit int8, start, end int64, span string) *rdsDrv.IntCmd { 241 return i.GetProxy().BitPosSpan(ctx, key, bit, start, end, span) 242 } 243 func (i *instance) BitField(ctx context.Context, key string, args ...any) *rdsDrv.IntSliceCmd { 244 return i.GetProxy().BitField(ctx, key, args...) 245 } 246 func (i *instance) Scan(ctx context.Context, cursor uint64, match string, count int64) *rdsDrv.ScanCmd { 247 return i.GetProxy().Scan(ctx, cursor, match, count) 248 } 249 func (i *instance) ScanType(ctx context.Context, cursor uint64, match string, count int64, 250 keyType string) *rdsDrv.ScanCmd { 251 return i.GetProxy().ScanType(ctx, cursor, match, count, keyType) 252 } 253 func (i *instance) SScan(ctx context.Context, key string, cursor uint64, match string, count int64) *rdsDrv.ScanCmd { 254 return i.GetProxy().SScan(ctx, key, cursor, match, count) 255 } 256 func (i *instance) HScan(ctx context.Context, key string, cursor uint64, match string, count int64) *rdsDrv.ScanCmd { 257 return i.GetProxy().HScan(ctx, key, cursor, match, count) 258 } 259 func (i *instance) ZScan(ctx context.Context, key string, cursor uint64, match string, count int64) *rdsDrv.ScanCmd { 260 return i.GetProxy().ZScan(ctx, key, cursor, match, count) 261 } 262 func (i *instance) HDel(ctx context.Context, key string, fields ...string) *rdsDrv.IntCmd { 263 return i.GetProxy().HDel(ctx, key, fields...) 264 } 265 func (i *instance) HExists(ctx context.Context, key, field string) *rdsDrv.BoolCmd { 266 return i.GetProxy().HExists(ctx, key, field) 267 } 268 func (i *instance) HGet(ctx context.Context, key, field string) *rdsDrv.StringCmd { 269 return i.GetProxy().HGet(ctx, key, field) 270 } 271 func (i *instance) HGetAll(ctx context.Context, key string) *rdsDrv.MapStringStringCmd { 272 return i.GetProxy().HGetAll(ctx, key) 273 } 274 func (i *instance) HIncrBy(ctx context.Context, key, field string, incr int64) *rdsDrv.IntCmd { 275 return i.GetProxy().HIncrBy(ctx, key, field, incr) 276 } 277 func (i *instance) HIncrByFloat(ctx context.Context, key, field string, incr float64) *rdsDrv.FloatCmd { 278 return i.GetProxy().HIncrByFloat(ctx, key, field, incr) 279 } 280 func (i *instance) HKeys(ctx context.Context, key string) *rdsDrv.StringSliceCmd { 281 return i.GetProxy().HKeys(ctx, key) 282 } 283 func (i *instance) HLen(ctx context.Context, key string) *rdsDrv.IntCmd { 284 return i.GetProxy().HLen(ctx, key) 285 } 286 func (i *instance) HMGet(ctx context.Context, key string, fields ...string) *rdsDrv.SliceCmd { 287 return i.GetProxy().HMGet(ctx, key, fields...) 288 } 289 func (i *instance) HSet(ctx context.Context, key string, values ...any) *rdsDrv.IntCmd { 290 return i.GetProxy().HSet(ctx, key, values...) 291 } 292 func (i *instance) HMSet(ctx context.Context, key string, values ...any) *rdsDrv.BoolCmd { 293 return i.GetProxy().HMSet(ctx, key, values...) 294 } 295 func (i *instance) HSetNX(ctx context.Context, key, field string, value any) *rdsDrv.BoolCmd { 296 return i.GetProxy().HSetNX(ctx, key, field, value) 297 } 298 func (i *instance) HVals(ctx context.Context, key string) *rdsDrv.StringSliceCmd { 299 return i.GetProxy().HVals(ctx, key) 300 } 301 func (i *instance) HRandField(ctx context.Context, key string, count int) *rdsDrv.StringSliceCmd { 302 return i.GetProxy().HRandField(ctx, key, count) 303 } 304 func (i *instance) HRandFieldWithValues(ctx context.Context, key string, count int) *rdsDrv.KeyValueSliceCmd { 305 return i.GetProxy().HRandFieldWithValues(ctx, key, count) 306 } 307 func (i *instance) BLPop(ctx context.Context, timeout time.Duration, keys ...string) *rdsDrv.StringSliceCmd { 308 return i.GetProxy().BLPop(ctx, timeout, keys...) 309 } 310 func (i *instance) BLMPop(ctx context.Context, timeout time.Duration, direction string, 311 count int64, keys ...string) *rdsDrv.KeyValuesCmd { 312 return i.GetProxy().BLMPop(ctx, timeout, direction, count, keys...) 313 } 314 func (i *instance) BRPop(ctx context.Context, timeout time.Duration, keys ...string) *rdsDrv.StringSliceCmd { 315 return i.GetProxy().BRPop(ctx, timeout, keys...) 316 } 317 func (i *instance) BRPopLPush(ctx context.Context, source, destination string, 318 timeout time.Duration) *rdsDrv.StringCmd { 319 return i.GetProxy().BRPopLPush(ctx, source, destination, timeout) 320 } 321 func (i *instance) LCS(ctx context.Context, q *rdsDrv.LCSQuery) *rdsDrv.LCSCmd { 322 return i.GetProxy().LCS(ctx, q) 323 } 324 func (i *instance) LIndex(ctx context.Context, key string, index int64) *rdsDrv.StringCmd { 325 return i.GetProxy().LIndex(ctx, key, index) 326 } 327 func (i *instance) LMPop(ctx context.Context, direction string, count int64, keys ...string) *rdsDrv.KeyValuesCmd { 328 return i.GetProxy().LMPop(ctx, direction, count, keys...) 329 } 330 func (i *instance) LInsert(ctx context.Context, key, op string, pivot, value any) *rdsDrv.IntCmd { 331 return i.GetProxy().LInsert(ctx, key, op, pivot, value) 332 } 333 func (i *instance) LInsertBefore(ctx context.Context, key string, pivot, value any) *rdsDrv.IntCmd { 334 return i.GetProxy().LInsertBefore(ctx, key, pivot, value) 335 } 336 func (i *instance) LInsertAfter(ctx context.Context, key string, pivot, value any) *rdsDrv.IntCmd { 337 return i.GetProxy().LInsertAfter(ctx, key, pivot, value) 338 } 339 func (i *instance) LLen(ctx context.Context, key string) *rdsDrv.IntCmd { 340 return i.GetProxy().LLen(ctx, key) 341 } 342 func (i *instance) LPop(ctx context.Context, key string) *rdsDrv.StringCmd { 343 return i.GetProxy().LPop(ctx, key) 344 } 345 func (i *instance) LPopCount(ctx context.Context, key string, count int) *rdsDrv.StringSliceCmd { 346 return i.GetProxy().LPopCount(ctx, key, count) 347 } 348 func (i *instance) LPos(ctx context.Context, key string, value string, args rdsDrv.LPosArgs) *rdsDrv.IntCmd { 349 return i.GetProxy().LPos(ctx, key, value, args) 350 } 351 func (i *instance) LPosCount(ctx context.Context, key string, value string, count int64, 352 args rdsDrv.LPosArgs) *rdsDrv.IntSliceCmd { 353 return i.GetProxy().LPosCount(ctx, key, value, count, args) 354 } 355 func (i *instance) LPush(ctx context.Context, key string, values ...any) *rdsDrv.IntCmd { 356 return i.GetProxy().LPush(ctx, key, values...) 357 } 358 func (i *instance) LPushX(ctx context.Context, key string, values ...any) *rdsDrv.IntCmd { 359 return i.GetProxy().LPushX(ctx, key, values...) 360 } 361 func (i *instance) LRange(ctx context.Context, key string, start, stop int64) *rdsDrv.StringSliceCmd { 362 return i.GetProxy().LRange(ctx, key, start, stop) 363 } 364 func (i *instance) LRem(ctx context.Context, key string, count int64, value any) *rdsDrv.IntCmd { 365 return i.GetProxy().LRem(ctx, key, count, value) 366 } 367 func (i *instance) LSet(ctx context.Context, key string, index int64, value any) *rdsDrv.StatusCmd { 368 return i.GetProxy().LSet(ctx, key, index, value) 369 } 370 func (i *instance) LTrim(ctx context.Context, key string, start, stop int64) *rdsDrv.StatusCmd { 371 return i.GetProxy().LTrim(ctx, key, start, stop) 372 } 373 func (i *instance) RPop(ctx context.Context, key string) *rdsDrv.StringCmd { 374 return i.GetProxy().RPop(ctx, key) 375 } 376 func (i *instance) RPopCount(ctx context.Context, key string, count int) *rdsDrv.StringSliceCmd { 377 return i.GetProxy().RPopCount(ctx, key, count) 378 } 379 func (i *instance) RPopLPush(ctx context.Context, source, destination string) *rdsDrv.StringCmd { 380 return i.GetProxy().RPopLPush(ctx, source, destination) 381 } 382 func (i *instance) RPush(ctx context.Context, key string, values ...any) *rdsDrv.IntCmd { 383 return i.GetProxy().RPush(ctx, key, values...) 384 } 385 func (i *instance) RPushX(ctx context.Context, key string, values ...any) *rdsDrv.IntCmd { 386 return i.GetProxy().RPushX(ctx, key, values...) 387 } 388 func (i *instance) LMove(ctx context.Context, source, destination, srcpos, destpos string) *rdsDrv.StringCmd { 389 return i.GetProxy().LMove(ctx, source, destination, srcpos, destpos) 390 } 391 func (i *instance) BLMove(ctx context.Context, source, destination, srcpos, destpos string, 392 timeout time.Duration) *rdsDrv.StringCmd { 393 return i.GetProxy().BLMove(ctx, source, destination, srcpos, destpos, timeout) 394 } 395 func (i *instance) SAdd(ctx context.Context, key string, members ...any) *rdsDrv.IntCmd { 396 return i.GetProxy().SAdd(ctx, key, members...) 397 } 398 func (i *instance) SCard(ctx context.Context, key string) *rdsDrv.IntCmd { 399 return i.GetProxy().SCard(ctx, key) 400 } 401 func (i *instance) SDiff(ctx context.Context, keys ...string) *rdsDrv.StringSliceCmd { 402 return i.GetProxy().SDiff(ctx, keys...) 403 } 404 func (i *instance) SDiffStore(ctx context.Context, destination string, keys ...string) *rdsDrv.IntCmd { 405 return i.GetProxy().SDiffStore(ctx, destination, keys...) 406 } 407 func (i *instance) SInter(ctx context.Context, keys ...string) *rdsDrv.StringSliceCmd { 408 return i.GetProxy().SInter(ctx, keys...) 409 } 410 func (i *instance) SInterCard(ctx context.Context, limit int64, keys ...string) *rdsDrv.IntCmd { 411 return i.GetProxy().SInterCard(ctx, limit, keys...) 412 } 413 func (i *instance) SInterStore(ctx context.Context, destination string, keys ...string) *rdsDrv.IntCmd { 414 return i.GetProxy().SInterStore(ctx, destination, keys...) 415 } 416 func (i *instance) SIsMember(ctx context.Context, key string, member any) *rdsDrv.BoolCmd { 417 return i.GetProxy().SIsMember(ctx, key, member) 418 } 419 func (i *instance) SMIsMember(ctx context.Context, key string, members ...any) *rdsDrv.BoolSliceCmd { 420 return i.GetProxy().SMIsMember(ctx, key, members...) 421 } 422 func (i *instance) SMembers(ctx context.Context, key string) *rdsDrv.StringSliceCmd { 423 return i.GetProxy().SMembers(ctx, key) 424 } 425 func (i *instance) SMembersMap(ctx context.Context, key string) *rdsDrv.StringStructMapCmd { 426 return i.GetProxy().SMembersMap(ctx, key) 427 } 428 func (i *instance) SMove(ctx context.Context, source, destination string, member any) *rdsDrv.BoolCmd { 429 return i.GetProxy().SMove(ctx, source, destination, member) 430 } 431 func (i *instance) SPop(ctx context.Context, key string) *rdsDrv.StringCmd { 432 return i.GetProxy().SPop(ctx, key) 433 } 434 func (i *instance) SPopN(ctx context.Context, key string, count int64) *rdsDrv.StringSliceCmd { 435 return i.GetProxy().SPopN(ctx, key, count) 436 } 437 func (i *instance) SRandMember(ctx context.Context, key string) *rdsDrv.StringCmd { 438 return i.GetProxy().SRandMember(ctx, key) 439 } 440 func (i *instance) SRandMemberN(ctx context.Context, key string, count int64) *rdsDrv.StringSliceCmd { 441 return i.GetProxy().SRandMemberN(ctx, key, count) 442 } 443 func (i *instance) SRem(ctx context.Context, key string, members ...any) *rdsDrv.IntCmd { 444 return i.GetProxy().SRem(ctx, key, members...) 445 } 446 func (i *instance) SUnion(ctx context.Context, keys ...string) *rdsDrv.StringSliceCmd { 447 return i.GetProxy().SUnion(ctx, keys...) 448 } 449 func (i *instance) SUnionStore(ctx context.Context, destination string, keys ...string) *rdsDrv.IntCmd { 450 return i.GetProxy().SUnionStore(ctx, destination, keys...) 451 } 452 func (i *instance) XAdd(ctx context.Context, a *rdsDrv.XAddArgs) *rdsDrv.StringCmd { 453 return i.GetProxy().XAdd(ctx, a) 454 } 455 func (i *instance) XDel(ctx context.Context, stream string, ids ...string) *rdsDrv.IntCmd { 456 return i.GetProxy().XDel(ctx, stream, ids...) 457 } 458 func (i *instance) XLen(ctx context.Context, stream string) *rdsDrv.IntCmd { 459 return i.GetProxy().XLen(ctx, stream) 460 } 461 func (i *instance) XRange(ctx context.Context, stream, start, stop string) *rdsDrv.XMessageSliceCmd { 462 return i.GetProxy().XRange(ctx, stream, start, stop) 463 } 464 func (i *instance) XRangeN(ctx context.Context, stream, start, stop string, count int64) *rdsDrv.XMessageSliceCmd { 465 return i.GetProxy().XRangeN(ctx, stream, start, stop, count) 466 } 467 func (i *instance) XRevRange(ctx context.Context, stream string, start, stop string) *rdsDrv.XMessageSliceCmd { 468 return i.GetProxy().XRevRange(ctx, stream, start, stop) 469 } 470 func (i *instance) XRevRangeN(ctx context.Context, stream string, 471 start, stop string, count int64) *rdsDrv.XMessageSliceCmd { 472 return i.GetProxy().XRevRangeN(ctx, stream, start, stop, count) 473 } 474 func (i *instance) XRead(ctx context.Context, a *rdsDrv.XReadArgs) *rdsDrv.XStreamSliceCmd { 475 return i.GetProxy().XRead(ctx, a) 476 } 477 func (i *instance) XReadStreams(ctx context.Context, streams ...string) *rdsDrv.XStreamSliceCmd { 478 return i.GetProxy().XReadStreams(ctx, streams...) 479 } 480 func (i *instance) XGroupCreate(ctx context.Context, stream, group, start string) *rdsDrv.StatusCmd { 481 return i.GetProxy().XGroupCreate(ctx, stream, group, start) 482 } 483 func (i *instance) XGroupCreateMkStream(ctx context.Context, stream, group, start string) *rdsDrv.StatusCmd { 484 return i.GetProxy().XGroupCreateMkStream(ctx, stream, group, start) 485 } 486 func (i *instance) XGroupSetID(ctx context.Context, stream, group, start string) *rdsDrv.StatusCmd { 487 return i.GetProxy().XGroupSetID(ctx, stream, group, start) 488 } 489 func (i *instance) XGroupDestroy(ctx context.Context, stream, group string) *rdsDrv.IntCmd { 490 return i.GetProxy().XGroupDestroy(ctx, stream, group) 491 } 492 func (i *instance) XGroupCreateConsumer(ctx context.Context, stream, group, consumer string) *rdsDrv.IntCmd { 493 return i.GetProxy().XGroupCreateConsumer(ctx, stream, group, consumer) 494 } 495 func (i *instance) XGroupDelConsumer(ctx context.Context, stream, group, consumer string) *rdsDrv.IntCmd { 496 return i.GetProxy().XGroupDelConsumer(ctx, stream, group, consumer) 497 } 498 func (i *instance) XReadGroup(ctx context.Context, a *rdsDrv.XReadGroupArgs) *rdsDrv.XStreamSliceCmd { 499 return i.GetProxy().XReadGroup(ctx, a) 500 } 501 func (i *instance) XAck(ctx context.Context, stream, group string, ids ...string) *rdsDrv.IntCmd { 502 return i.GetProxy().XAck(ctx, stream, group, ids...) 503 } 504 func (i *instance) XPending(ctx context.Context, stream, group string) *rdsDrv.XPendingCmd { 505 return i.GetProxy().XPending(ctx, stream, group) 506 } 507 func (i *instance) XPendingExt(ctx context.Context, a *rdsDrv.XPendingExtArgs) *rdsDrv.XPendingExtCmd { 508 return i.GetProxy().XPendingExt(ctx, a) 509 } 510 func (i *instance) XClaim(ctx context.Context, a *rdsDrv.XClaimArgs) *rdsDrv.XMessageSliceCmd { 511 return i.GetProxy().XClaim(ctx, a) 512 } 513 func (i *instance) XClaimJustID(ctx context.Context, a *rdsDrv.XClaimArgs) *rdsDrv.StringSliceCmd { 514 return i.GetProxy().XClaimJustID(ctx, a) 515 } 516 func (i *instance) XAutoClaim(ctx context.Context, a *rdsDrv.XAutoClaimArgs) *rdsDrv.XAutoClaimCmd { 517 return i.GetProxy().XAutoClaim(ctx, a) 518 } 519 func (i *instance) XAutoClaimJustID(ctx context.Context, a *rdsDrv.XAutoClaimArgs) *rdsDrv.XAutoClaimJustIDCmd { 520 return i.GetProxy().XAutoClaimJustID(ctx, a) 521 } 522 func (i *instance) XTrimMaxLen(ctx context.Context, key string, maxLen int64) *rdsDrv.IntCmd { 523 return i.GetProxy().XTrimMaxLen(ctx, key, maxLen) 524 } 525 func (i *instance) XTrimMaxLenApprox(ctx context.Context, key string, maxLen, limit int64) *rdsDrv.IntCmd { 526 return i.GetProxy().XTrimMaxLenApprox(ctx, key, maxLen, limit) 527 } 528 func (i *instance) XTrimMinID(ctx context.Context, key string, minID string) *rdsDrv.IntCmd { 529 return i.GetProxy().XTrimMinID(ctx, key, minID) 530 } 531 func (i *instance) XTrimMinIDApprox(ctx context.Context, key string, minID string, limit int64) *rdsDrv.IntCmd { 532 return i.GetProxy().XTrimMinIDApprox(ctx, key, minID, limit) 533 } 534 func (i *instance) XInfoGroups(ctx context.Context, key string) *rdsDrv.XInfoGroupsCmd { 535 return i.GetProxy().XInfoGroups(ctx, key) 536 } 537 func (i *instance) XInfoStream(ctx context.Context, key string) *rdsDrv.XInfoStreamCmd { 538 return i.GetProxy().XInfoStream(ctx, key) 539 } 540 func (i *instance) XInfoStreamFull(ctx context.Context, key string, count int) *rdsDrv.XInfoStreamFullCmd { 541 return i.GetProxy().XInfoStreamFull(ctx, key, count) 542 } 543 func (i *instance) XInfoConsumers(ctx context.Context, key string, group string) *rdsDrv.XInfoConsumersCmd { 544 return i.GetProxy().XInfoConsumers(ctx, key, group) 545 } 546 func (i *instance) BZPopMax(ctx context.Context, timeout time.Duration, keys ...string) *rdsDrv.ZWithKeyCmd { 547 return i.GetProxy().BZPopMax(ctx, timeout, keys...) 548 } 549 func (i *instance) BZPopMin(ctx context.Context, timeout time.Duration, keys ...string) *rdsDrv.ZWithKeyCmd { 550 return i.GetProxy().BZPopMin(ctx, timeout, keys...) 551 } 552 func (i *instance) BZMPop(ctx context.Context, timeout time.Duration, order string, 553 count int64, keys ...string) *rdsDrv.ZSliceWithKeyCmd { 554 return i.GetProxy().BZMPop(ctx, timeout, order, count, keys...) 555 } 556 func (i *instance) ZAdd(ctx context.Context, key string, members ...rdsDrv.Z) *rdsDrv.IntCmd { 557 return i.GetProxy().ZAdd(ctx, key, members...) 558 } 559 func (i *instance) ZAddLT(ctx context.Context, key string, members ...rdsDrv.Z) *rdsDrv.IntCmd { 560 return i.GetProxy().ZAddLT(ctx, key, members...) 561 } 562 func (i *instance) ZAddGT(ctx context.Context, key string, members ...rdsDrv.Z) *rdsDrv.IntCmd { 563 return i.GetProxy().ZAddGT(ctx, key, members...) 564 } 565 func (i *instance) ZAddNX(ctx context.Context, key string, members ...rdsDrv.Z) *rdsDrv.IntCmd { 566 return i.GetProxy().ZAddNX(ctx, key, members...) 567 } 568 func (i *instance) ZAddXX(ctx context.Context, key string, members ...rdsDrv.Z) *rdsDrv.IntCmd { 569 return i.GetProxy().ZAddXX(ctx, key, members...) 570 } 571 func (i *instance) ZAddArgs(ctx context.Context, key string, args rdsDrv.ZAddArgs) *rdsDrv.IntCmd { 572 return i.GetProxy().ZAddArgs(ctx, key, args) 573 } 574 func (i *instance) ZAddArgsIncr(ctx context.Context, key string, args rdsDrv.ZAddArgs) *rdsDrv.FloatCmd { 575 return i.GetProxy().ZAddArgsIncr(ctx, key, args) 576 } 577 func (i *instance) ZCard(ctx context.Context, key string) *rdsDrv.IntCmd { 578 return i.GetProxy().ZCard(ctx, key) 579 } 580 func (i *instance) ZCount(ctx context.Context, key, min, max string) *rdsDrv.IntCmd { 581 return i.GetProxy().ZCount(ctx, key, min, max) 582 } 583 func (i *instance) ZLexCount(ctx context.Context, key, min, max string) *rdsDrv.IntCmd { 584 return i.GetProxy().ZLexCount(ctx, key, min, max) 585 } 586 func (i *instance) ZIncrBy(ctx context.Context, key string, increment float64, member string) *rdsDrv.FloatCmd { 587 return i.GetProxy().ZIncrBy(ctx, key, increment, member) 588 } 589 func (i *instance) ZInter(ctx context.Context, store *rdsDrv.ZStore) *rdsDrv.StringSliceCmd { 590 return i.GetProxy().ZInter(ctx, store) 591 } 592 func (i *instance) ZInterWithScores(ctx context.Context, store *rdsDrv.ZStore) *rdsDrv.ZSliceCmd { 593 return i.GetProxy().ZInterWithScores(ctx, store) 594 } 595 func (i *instance) ZInterCard(ctx context.Context, limit int64, keys ...string) *rdsDrv.IntCmd { 596 return i.GetProxy().ZInterCard(ctx, limit, keys...) 597 } 598 func (i *instance) ZInterStore(ctx context.Context, destination string, store *rdsDrv.ZStore) *rdsDrv.IntCmd { 599 return i.GetProxy().ZInterStore(ctx, destination, store) 600 } 601 func (i *instance) ZMPop(ctx context.Context, order string, count int64, keys ...string) *rdsDrv.ZSliceWithKeyCmd { 602 return i.GetProxy().ZMPop(ctx, order, count, keys...) 603 } 604 func (i *instance) ZMScore(ctx context.Context, key string, members ...string) *rdsDrv.FloatSliceCmd { 605 return i.GetProxy().ZMScore(ctx, key, members...) 606 } 607 func (i *instance) ZPopMax(ctx context.Context, key string, count ...int64) *rdsDrv.ZSliceCmd { 608 return i.GetProxy().ZPopMax(ctx, key, count...) 609 } 610 func (i *instance) ZPopMin(ctx context.Context, key string, count ...int64) *rdsDrv.ZSliceCmd { 611 return i.GetProxy().ZPopMin(ctx, key, count...) 612 } 613 func (i *instance) ZRange(ctx context.Context, key string, start, stop int64) *rdsDrv.StringSliceCmd { 614 return i.GetProxy().ZRange(ctx, key, start, stop) 615 } 616 func (i *instance) ZRangeWithScores(ctx context.Context, key string, start, stop int64) *rdsDrv.ZSliceCmd { 617 return i.GetProxy().ZRangeWithScores(ctx, key, start, stop) 618 } 619 func (i *instance) ZRangeByScore(ctx context.Context, key string, opt *rdsDrv.ZRangeBy) *rdsDrv.StringSliceCmd { 620 return i.GetProxy().ZRangeByScore(ctx, key, opt) 621 } 622 func (i *instance) ZRangeByLex(ctx context.Context, key string, opt *rdsDrv.ZRangeBy) *rdsDrv.StringSliceCmd { 623 return i.GetProxy().ZRangeByLex(ctx, key, opt) 624 } 625 func (i *instance) ZRangeByScoreWithScores(ctx context.Context, key string, opt *rdsDrv.ZRangeBy) *rdsDrv.ZSliceCmd { 626 return i.GetProxy().ZRangeByScoreWithScores(ctx, key, opt) 627 } 628 func (i *instance) ZRangeArgs(ctx context.Context, z rdsDrv.ZRangeArgs) *rdsDrv.StringSliceCmd { 629 return i.GetProxy().ZRangeArgs(ctx, z) 630 } 631 func (i *instance) ZRangeArgsWithScores(ctx context.Context, z rdsDrv.ZRangeArgs) *rdsDrv.ZSliceCmd { 632 return i.GetProxy().ZRangeArgsWithScores(ctx, z) 633 } 634 func (i *instance) ZRangeStore(ctx context.Context, dst string, z rdsDrv.ZRangeArgs) *rdsDrv.IntCmd { 635 return i.GetProxy().ZRangeStore(ctx, dst, z) 636 } 637 func (i *instance) ZRank(ctx context.Context, key, member string) *rdsDrv.IntCmd { 638 return i.GetProxy().ZRank(ctx, key, member) 639 } 640 func (i *instance) ZRankWithScore(ctx context.Context, key, member string) *rdsDrv.RankWithScoreCmd { 641 return i.GetProxy().ZRankWithScore(ctx, key, member) 642 } 643 644 func (i *instance) ZRem(ctx context.Context, key string, members ...any) *rdsDrv.IntCmd { 645 return i.GetProxy().ZRem(ctx, key, members...) 646 } 647 func (i *instance) ZRemRangeByRank(ctx context.Context, key string, start, stop int64) *rdsDrv.IntCmd { 648 return i.GetProxy().ZRemRangeByRank(ctx, key, start, stop) 649 } 650 func (i *instance) ZRemRangeByScore(ctx context.Context, key, min, max string) *rdsDrv.IntCmd { 651 return i.GetProxy().ZRemRangeByScore(ctx, key, min, max) 652 } 653 func (i *instance) ZRemRangeByLex(ctx context.Context, key, min, max string) *rdsDrv.IntCmd { 654 return i.GetProxy().ZRemRangeByLex(ctx, key, min, max) 655 } 656 func (i *instance) ZRevRange(ctx context.Context, key string, start, stop int64) *rdsDrv.StringSliceCmd { 657 return i.GetProxy().ZRevRange(ctx, key, start, stop) 658 } 659 func (i *instance) ZRevRangeWithScores(ctx context.Context, key string, start, stop int64) *rdsDrv.ZSliceCmd { 660 return i.GetProxy().ZRevRangeWithScores(ctx, key, start, stop) 661 } 662 func (i *instance) ZRevRangeByScore(ctx context.Context, key string, opt *rdsDrv.ZRangeBy) *rdsDrv.StringSliceCmd { 663 return i.GetProxy().ZRevRangeByScore(ctx, key, opt) 664 } 665 func (i *instance) ZRevRangeByLex(ctx context.Context, key string, opt *rdsDrv.ZRangeBy) *rdsDrv.StringSliceCmd { 666 return i.GetProxy().ZRevRangeByLex(ctx, key, opt) 667 } 668 func (i *instance) ZRevRangeByScoreWithScores(ctx context.Context, key string, opt *rdsDrv.ZRangeBy) *rdsDrv.ZSliceCmd { 669 return i.GetProxy().ZRevRangeByScoreWithScores(ctx, key, opt) 670 } 671 func (i *instance) ZRevRank(ctx context.Context, key, member string) *rdsDrv.IntCmd { 672 return i.GetProxy().ZRevRank(ctx, key, member) 673 } 674 func (i *instance) ZRevRankWithScore(ctx context.Context, key, member string) *rdsDrv.RankWithScoreCmd { 675 return i.GetProxy().ZRevRankWithScore(ctx, key, member) 676 } 677 func (i *instance) ZScore(ctx context.Context, key, member string) *rdsDrv.FloatCmd { 678 return i.GetProxy().ZScore(ctx, key, member) 679 } 680 func (i *instance) ZUnionStore(ctx context.Context, dest string, store *rdsDrv.ZStore) *rdsDrv.IntCmd { 681 return i.GetProxy().ZUnionStore(ctx, dest, store) 682 } 683 func (i *instance) ZRandMember(ctx context.Context, key string, count int) *rdsDrv.StringSliceCmd { 684 return i.GetProxy().ZRandMember(ctx, key, count) 685 } 686 func (i *instance) ZRandMemberWithScores(ctx context.Context, key string, count int) *rdsDrv.ZSliceCmd { 687 return i.GetProxy().ZRandMemberWithScores(ctx, key, count) 688 } 689 func (i *instance) ZUnion(ctx context.Context, store rdsDrv.ZStore) *rdsDrv.StringSliceCmd { 690 return i.GetProxy().ZUnion(ctx, store) 691 } 692 func (i *instance) ZUnionWithScores(ctx context.Context, store rdsDrv.ZStore) *rdsDrv.ZSliceCmd { 693 return i.GetProxy().ZUnionWithScores(ctx, store) 694 } 695 func (i *instance) ZDiff(ctx context.Context, keys ...string) *rdsDrv.StringSliceCmd { 696 return i.GetProxy().ZDiff(ctx, keys...) 697 } 698 func (i *instance) ZDiffWithScores(ctx context.Context, keys ...string) *rdsDrv.ZSliceCmd { 699 return i.GetProxy().ZDiffWithScores(ctx, keys...) 700 } 701 func (i *instance) ZDiffStore(ctx context.Context, destination string, keys ...string) *rdsDrv.IntCmd { 702 return i.GetProxy().ZDiffStore(ctx, destination, keys...) 703 } 704 func (i *instance) PFAdd(ctx context.Context, key string, els ...any) *rdsDrv.IntCmd { 705 return i.GetProxy().PFAdd(ctx, key, els...) 706 } 707 func (i *instance) PFCount(ctx context.Context, keys ...string) *rdsDrv.IntCmd { 708 return i.GetProxy().PFCount(ctx, keys...) 709 } 710 func (i *instance) PFMerge(ctx context.Context, dest string, keys ...string) *rdsDrv.StatusCmd { 711 return i.GetProxy().PFMerge(ctx, dest, keys...) 712 } 713 func (i *instance) BgRewriteAOF(ctx context.Context) *rdsDrv.StatusCmd { 714 return i.GetProxy().BgRewriteAOF(ctx) 715 } 716 func (i *instance) BgSave(ctx context.Context) *rdsDrv.StatusCmd { 717 return i.GetProxy().BgSave(ctx) 718 } 719 func (i *instance) ClientKill(ctx context.Context, ipPort string) *rdsDrv.StatusCmd { 720 return i.GetProxy().ClientKill(ctx, ipPort) 721 } 722 func (i *instance) ClientKillByFilter(ctx context.Context, keys ...string) *rdsDrv.IntCmd { 723 return i.GetProxy().ClientKillByFilter(ctx, keys...) 724 } 725 func (i *instance) ClientList(ctx context.Context) *rdsDrv.StringCmd { 726 return i.GetProxy().ClientList(ctx) 727 } 728 func (i *instance) ClientPause(ctx context.Context, dur time.Duration) *rdsDrv.BoolCmd { 729 return i.GetProxy().ClientPause(ctx, dur) 730 } 731 func (i *instance) ClientUnpause(ctx context.Context) *rdsDrv.BoolCmd { 732 return i.GetProxy().ClientUnpause(ctx) 733 } 734 func (i *instance) ClientID(ctx context.Context) *rdsDrv.IntCmd { 735 return i.GetProxy().ClientID(ctx) 736 } 737 func (i *instance) ClientUnblock(ctx context.Context, id int64) *rdsDrv.IntCmd { 738 return i.GetProxy().ClientUnblock(ctx, id) 739 } 740 func (i *instance) ClientUnblockWithError(ctx context.Context, id int64) *rdsDrv.IntCmd { 741 return i.GetProxy().ClientUnblockWithError(ctx, id) 742 } 743 func (i *instance) ClientInfo(ctx context.Context) *rdsDrv.ClientInfoCmd { 744 return i.GetProxy().ClientInfo(ctx) 745 } 746 func (i *instance) ConfigGet(ctx context.Context, parameter string) *rdsDrv.MapStringStringCmd { 747 return i.GetProxy().ConfigGet(ctx, parameter) 748 } 749 func (i *instance) ConfigResetStat(ctx context.Context) *rdsDrv.StatusCmd { 750 return i.GetProxy().ConfigResetStat(ctx) 751 } 752 func (i *instance) ConfigSet(ctx context.Context, parameter, value string) *rdsDrv.StatusCmd { 753 return i.GetProxy().ConfigSet(ctx, parameter, value) 754 } 755 func (i *instance) ConfigRewrite(ctx context.Context) *rdsDrv.StatusCmd { 756 return i.GetProxy().ConfigRewrite(ctx) 757 } 758 func (i *instance) DBSize(ctx context.Context) *rdsDrv.IntCmd { 759 return i.GetProxy().DBSize(ctx) 760 } 761 func (i *instance) FlushAll(ctx context.Context) *rdsDrv.StatusCmd { 762 return i.GetProxy().FlushAll(ctx) 763 } 764 func (i *instance) FlushAllAsync(ctx context.Context) *rdsDrv.StatusCmd { 765 return i.GetProxy().FlushAllAsync(ctx) 766 } 767 func (i *instance) FlushDB(ctx context.Context) *rdsDrv.StatusCmd { 768 return i.GetProxy().FlushDB(ctx) 769 } 770 func (i *instance) FlushDBAsync(ctx context.Context) *rdsDrv.StatusCmd { 771 return i.GetProxy().FlushDBAsync(ctx) 772 } 773 func (i *instance) Info(ctx context.Context, section ...string) *rdsDrv.StringCmd { 774 return i.GetProxy().Info(ctx, section...) 775 } 776 func (i *instance) LastSave(ctx context.Context) *rdsDrv.IntCmd { 777 return i.GetProxy().LastSave(ctx) 778 } 779 func (i *instance) Save(ctx context.Context) *rdsDrv.StatusCmd { 780 return i.GetProxy().Save(ctx) 781 } 782 func (i *instance) Shutdown(ctx context.Context) *rdsDrv.StatusCmd { 783 return i.GetProxy().Shutdown(ctx) 784 } 785 func (i *instance) ShutdownSave(ctx context.Context) *rdsDrv.StatusCmd { 786 return i.GetProxy().ShutdownSave(ctx) 787 } 788 func (i *instance) ShutdownNoSave(ctx context.Context) *rdsDrv.StatusCmd { 789 return i.GetProxy().ShutdownNoSave(ctx) 790 } 791 func (i *instance) SlaveOf(ctx context.Context, host, port string) *rdsDrv.StatusCmd { 792 return i.GetProxy().SlaveOf(ctx, host, port) 793 } 794 func (i *instance) SlowLogGet(ctx context.Context, num int64) *rdsDrv.SlowLogCmd { 795 return i.GetProxy().SlowLogGet(ctx, num) 796 } 797 func (i *instance) Time(ctx context.Context) *rdsDrv.TimeCmd { return i.GetProxy().Time(ctx) } 798 func (i *instance) DebugObject(ctx context.Context, key string) *rdsDrv.StringCmd { 799 return i.GetProxy().DebugObject(ctx, key) 800 } 801 func (i *instance) ReadOnly(ctx context.Context) *rdsDrv.StatusCmd { return i.GetProxy().ReadOnly(ctx) } 802 func (i *instance) ReadWrite(ctx context.Context) *rdsDrv.StatusCmd { 803 return i.GetProxy().ReadWrite(ctx) 804 } 805 func (i *instance) MemoryUsage(ctx context.Context, key string, samples ...int) *rdsDrv.IntCmd { 806 return i.GetProxy().MemoryUsage(ctx, key, samples...) 807 } 808 func (i *instance) Eval(ctx context.Context, script string, keys []string, args ...any) *rdsDrv.Cmd { 809 return i.GetProxy().Eval(ctx, script, keys, args...) 810 } 811 func (i *instance) EvalSha(ctx context.Context, sha1 string, keys []string, args ...any) *rdsDrv.Cmd { 812 return i.GetProxy().EvalSha(ctx, sha1, keys, args...) 813 } 814 func (i *instance) EvalRO(ctx context.Context, script string, keys []string, args ...any) *rdsDrv.Cmd { 815 return i.GetProxy().EvalRO(ctx, script, keys, args...) 816 } 817 func (i *instance) EvalShaRO(ctx context.Context, sha1 string, keys []string, args ...any) *rdsDrv.Cmd { 818 return i.GetProxy().EvalShaRO(ctx, sha1, keys, args...) 819 } 820 func (i *instance) ScriptExists(ctx context.Context, hashes ...string) *rdsDrv.BoolSliceCmd { 821 return i.GetProxy().ScriptExists(ctx, hashes...) 822 } 823 func (i *instance) ScriptFlush(ctx context.Context) *rdsDrv.StatusCmd { 824 return i.GetProxy().ScriptFlush(ctx) 825 } 826 func (i *instance) ScriptKill(ctx context.Context) *rdsDrv.StatusCmd { 827 return i.GetProxy().ScriptKill(ctx) 828 } 829 func (i *instance) ScriptLoad(ctx context.Context, script string) *rdsDrv.StringCmd { 830 return i.GetProxy().ScriptLoad(ctx, script) 831 } 832 func (i *instance) FunctionLoad(ctx context.Context, code string) *rdsDrv.StringCmd { 833 return i.GetProxy().FunctionLoad(ctx, code) 834 } 835 func (i *instance) FunctionLoadReplace(ctx context.Context, code string) *rdsDrv.StringCmd { 836 return i.GetProxy().FunctionLoadReplace(ctx, code) 837 } 838 func (i *instance) FunctionDelete(ctx context.Context, libName string) *rdsDrv.StringCmd { 839 return i.GetProxy().FunctionDelete(ctx, libName) 840 } 841 func (i *instance) FunctionFlush(ctx context.Context) *rdsDrv.StringCmd { 842 return i.GetProxy().FunctionFlush(ctx) 843 } 844 func (i *instance) FunctionKill(ctx context.Context) *rdsDrv.StringCmd { 845 return i.GetProxy().FunctionKill(ctx) 846 } 847 func (i *instance) FunctionFlushAsync(ctx context.Context) *rdsDrv.StringCmd { 848 return i.GetProxy().FunctionFlushAsync(ctx) 849 } 850 func (i *instance) FunctionList(ctx context.Context, q rdsDrv.FunctionListQuery) *rdsDrv.FunctionListCmd { 851 return i.GetProxy().FunctionList(ctx, q) 852 } 853 func (i *instance) FunctionDump(ctx context.Context) *rdsDrv.StringCmd { 854 return i.GetProxy().FunctionDump(ctx) 855 } 856 func (i *instance) FunctionRestore(ctx context.Context, libDump string) *rdsDrv.StringCmd { 857 return i.GetProxy().FunctionRestore(ctx, libDump) 858 } 859 func (i *instance) FunctionStats(ctx context.Context) *rdsDrv.FunctionStatsCmd { 860 return i.GetProxy().FunctionStats(ctx) 861 } 862 func (i *instance) FCall(ctx context.Context, function string, keys []string, args ...any) *rdsDrv.Cmd { 863 return i.GetProxy().FCall(ctx, function, keys, args...) 864 } 865 func (i *instance) FCallRo(ctx context.Context, function string, keys []string, args ...any) *rdsDrv.Cmd { 866 return i.GetProxy().FCallRo(ctx, function, keys, args...) 867 } 868 func (i *instance) FCallRO(ctx context.Context, function string, keys []string, args ...interface{}) *rdsDrv.Cmd { 869 return i.GetProxy().FCallRO(ctx, function, keys, args...) 870 } 871 func (i *instance) Publish(ctx context.Context, channel string, message any) *rdsDrv.IntCmd { 872 return i.GetProxy().Publish(ctx, channel, message) 873 } 874 func (i *instance) SPublish(ctx context.Context, channel string, message any) *rdsDrv.IntCmd { 875 return i.GetProxy().SPublish(ctx, channel, message) 876 } 877 func (i *instance) PubSubChannels(ctx context.Context, pattern string) *rdsDrv.StringSliceCmd { 878 return i.GetProxy().PubSubChannels(ctx, pattern) 879 } 880 func (i *instance) PubSubNumSub(ctx context.Context, channels ...string) *rdsDrv.MapStringIntCmd { 881 return i.GetProxy().PubSubNumSub(ctx, channels...) 882 } 883 func (i *instance) PubSubNumPat(ctx context.Context) *rdsDrv.IntCmd { 884 return i.GetProxy().PubSubNumPat(ctx) 885 } 886 func (i *instance) PubSubShardChannels(ctx context.Context, pattern string) *rdsDrv.StringSliceCmd { 887 return i.GetProxy().PubSubShardChannels(ctx, pattern) 888 } 889 func (i *instance) PubSubShardNumSub(ctx context.Context, channels ...string) *rdsDrv.MapStringIntCmd { 890 return i.GetProxy().PubSubShardNumSub(ctx, channels...) 891 } 892 func (i *instance) ClusterMyShardID(ctx context.Context) *rdsDrv.StringCmd { 893 return i.GetProxy().ClusterMyShardID(ctx) 894 } 895 func (i *instance) ClusterSlots(ctx context.Context) *rdsDrv.ClusterSlotsCmd { 896 return i.GetProxy().ClusterSlots(ctx) 897 } 898 func (i *instance) ClusterShards(ctx context.Context) *rdsDrv.ClusterShardsCmd { 899 return i.GetProxy().ClusterShards(ctx) 900 } 901 func (i *instance) ClusterLinks(ctx context.Context) *rdsDrv.ClusterLinksCmd { 902 return i.GetProxy().ClusterLinks(ctx) 903 } 904 func (i *instance) ClusterNodes(ctx context.Context) *rdsDrv.StringCmd { 905 return i.GetProxy().ClusterNodes(ctx) 906 } 907 func (i *instance) ClusterMeet(ctx context.Context, host, port string) *rdsDrv.StatusCmd { 908 return i.GetProxy().ClusterMeet(ctx, host, port) 909 } 910 func (i *instance) ClusterForget(ctx context.Context, nodeID string) *rdsDrv.StatusCmd { 911 return i.GetProxy().ClusterForget(ctx, nodeID) 912 } 913 func (i *instance) ClusterReplicate(ctx context.Context, nodeID string) *rdsDrv.StatusCmd { 914 return i.GetProxy().ClusterReplicate(ctx, nodeID) 915 } 916 func (i *instance) ClusterResetSoft(ctx context.Context) *rdsDrv.StatusCmd { 917 return i.GetProxy().ClusterResetSoft(ctx) 918 } 919 func (i *instance) ClusterResetHard(ctx context.Context) *rdsDrv.StatusCmd { 920 return i.GetProxy().ClusterResetHard(ctx) 921 } 922 func (i *instance) ClusterInfo(ctx context.Context) *rdsDrv.StringCmd { 923 return i.GetProxy().ClusterInfo(ctx) 924 } 925 func (i *instance) ClusterKeySlot(ctx context.Context, key string) *rdsDrv.IntCmd { 926 return i.GetProxy().ClusterKeySlot(ctx, key) 927 } 928 func (i *instance) ClusterGetKeysInSlot(ctx context.Context, slot int, count int) *rdsDrv.StringSliceCmd { 929 return i.GetProxy().ClusterGetKeysInSlot(ctx, slot, count) 930 } 931 func (i *instance) ClusterCountFailureReports(ctx context.Context, nodeID string) *rdsDrv.IntCmd { 932 return i.GetProxy().ClusterCountFailureReports(ctx, nodeID) 933 } 934 func (i *instance) ClusterCountKeysInSlot(ctx context.Context, slot int) *rdsDrv.IntCmd { 935 return i.GetProxy().ClusterCountKeysInSlot(ctx, slot) 936 } 937 func (i *instance) ClusterDelSlots(ctx context.Context, slots ...int) *rdsDrv.StatusCmd { 938 return i.GetProxy().ClusterDelSlots(ctx, slots...) 939 } 940 func (i *instance) ClusterDelSlotsRange(ctx context.Context, min, max int) *rdsDrv.StatusCmd { 941 return i.GetProxy().ClusterDelSlotsRange(ctx, min, max) 942 } 943 func (i *instance) ClusterSaveConfig(ctx context.Context) *rdsDrv.StatusCmd { 944 return i.GetProxy().ClusterSaveConfig(ctx) 945 } 946 func (i *instance) ClusterSlaves(ctx context.Context, nodeID string) *rdsDrv.StringSliceCmd { 947 return i.GetProxy().ClusterSlaves(ctx, nodeID) 948 } 949 func (i *instance) ClusterFailover(ctx context.Context) *rdsDrv.StatusCmd { 950 return i.GetProxy().ClusterFailover(ctx) 951 } 952 func (i *instance) ClusterAddSlots(ctx context.Context, slots ...int) *rdsDrv.StatusCmd { 953 return i.GetProxy().ClusterAddSlots(ctx, slots...) 954 } 955 func (i *instance) ClusterAddSlotsRange(ctx context.Context, min, max int) *rdsDrv.StatusCmd { 956 return i.GetProxy().ClusterAddSlotsRange(ctx, min, max) 957 } 958 func (i *instance) GeoAdd(ctx context.Context, key string, geoLocation ...*rdsDrv.GeoLocation) *rdsDrv.IntCmd { 959 return i.GetProxy().GeoAdd(ctx, key, geoLocation...) 960 } 961 func (i *instance) GeoPos(ctx context.Context, key string, members ...string) *rdsDrv.GeoPosCmd { 962 return i.GetProxy().GeoPos(ctx, key, members...) 963 } 964 func (i *instance) GeoRadius(ctx context.Context, key string, longitude, latitude float64, 965 query *rdsDrv.GeoRadiusQuery) *rdsDrv.GeoLocationCmd { 966 return i.GetProxy().GeoRadius(ctx, key, longitude, latitude, query) 967 } 968 func (i *instance) GeoRadiusStore(ctx context.Context, key string, longitude, latitude float64, 969 query *rdsDrv.GeoRadiusQuery) *rdsDrv.IntCmd { 970 return i.GetProxy().GeoRadiusStore(ctx, key, longitude, latitude, query) 971 } 972 func (i *instance) GeoRadiusByMember(ctx context.Context, key, member string, 973 query *rdsDrv.GeoRadiusQuery) *rdsDrv.GeoLocationCmd { 974 return i.GetProxy().GeoRadiusByMember(ctx, key, member, query) 975 } 976 func (i *instance) GeoRadiusByMemberStore(ctx context.Context, key, member string, 977 query *rdsDrv.GeoRadiusQuery) *rdsDrv.IntCmd { 978 return i.GetProxy().GeoRadiusByMemberStore(ctx, key, member, query) 979 } 980 func (i *instance) GeoSearch(ctx context.Context, key string, q *rdsDrv.GeoSearchQuery) *rdsDrv.StringSliceCmd { 981 return i.GetProxy().GeoSearch(ctx, key, q) 982 } 983 func (i *instance) GeoSearchLocation(ctx context.Context, key string, 984 q *rdsDrv.GeoSearchLocationQuery) *rdsDrv.GeoSearchLocationCmd { 985 return i.GetProxy().GeoSearchLocation(ctx, key, q) 986 } 987 func (i *instance) GeoSearchStore(ctx context.Context, key, store string, 988 q *rdsDrv.GeoSearchStoreQuery) *rdsDrv.IntCmd { 989 return i.GetProxy().GeoSearchStore(ctx, key, store, q) 990 } 991 func (i *instance) GeoDist(ctx context.Context, key string, member1, member2, unit string) *rdsDrv.FloatCmd { 992 return i.GetProxy().GeoDist(ctx, key, member1, member2, unit) 993 } 994 func (i *instance) GeoHash(ctx context.Context, key string, members ...string) *rdsDrv.StringSliceCmd { 995 return i.GetProxy().GeoHash(ctx, key, members...) 996 } 997 func (i *instance) ACLDryRun(ctx context.Context, username string, command ...any) *rdsDrv.StringCmd { 998 return i.GetProxy().ACLDryRun(ctx, username, command...) 999 } 1000 func (i *instance) ModuleLoadex(ctx context.Context, conf *rdsDrv.ModuleLoadexConfig) *rdsDrv.StringCmd { 1001 return i.GetProxy().ModuleLoadex(ctx, conf) 1002 } 1003 func (i *instance) AddHook(hk rdsDrv.Hook) { 1004 i.GetProxy().AddHook(hk) 1005 } 1006 func (i *instance) Watch(ctx context.Context, fn func(*rdsDrv.Tx) error, keys ...string) error { 1007 return i.GetProxy().Watch(ctx, fn, keys...) 1008 } 1009 func (i *instance) Do(ctx context.Context, args ...any) *rdsDrv.Cmd { 1010 return i.GetProxy().Do(ctx, args...) 1011 } 1012 func (i *instance) Process(ctx context.Context, cmd rdsDrv.Cmder) error { 1013 return i.GetProxy().Process(ctx, cmd) 1014 } 1015 func (i *instance) Subscribe(ctx context.Context, channels ...string) *rdsDrv.PubSub { 1016 return i.GetProxy().Subscribe(ctx, channels...) 1017 } 1018 func (i *instance) PSubscribe(ctx context.Context, channels ...string) *rdsDrv.PubSub { 1019 return i.GetProxy().PSubscribe(ctx, channels...) 1020 } 1021 func (i *instance) SSubscribe(ctx context.Context, channels ...string) *rdsDrv.PubSub { 1022 return i.GetProxy().SSubscribe(ctx, channels...) 1023 } 1024 func (i *instance) Close() error { 1025 return i.GetProxy().Close() 1026 } 1027 func (i *instance) PoolStats() *rdsDrv.PoolStats { 1028 return i.GetProxy().PoolStats() 1029 }