@@ -244,6 +244,7 @@ type Cmdable interface {
244244 XTrimMinIDApprox (ctx context.Context , key string , minID string , limit int64 ) * IntCmd
245245 XInfoGroups (ctx context.Context , key string ) * XInfoGroupsCmd
246246 XInfoStream (ctx context.Context , key string ) * XInfoStreamCmd
247+ XInfoStreamFull (ctx context.Context , key string , count int ) * XInfoStreamFullCmd
247248 XInfoConsumers (ctx context.Context , key string , group string ) * XInfoConsumersCmd
248249
249250 BZPopMax (ctx context.Context , timeout time.Duration , keys ... string ) * ZWithKeyCmd
@@ -304,6 +305,8 @@ type Cmdable interface {
304305 ClientList (ctx context.Context ) * StringCmd
305306 ClientPause (ctx context.Context , dur time.Duration ) * BoolCmd
306307 ClientID (ctx context.Context ) * IntCmd
308+ ClientUnblock (ctx context.Context , id int64 ) * IntCmd
309+ ClientUnblockWithError (ctx context.Context , id int64 ) * IntCmd
307310 ConfigGet (ctx context.Context , parameter string ) * MapStringStringCmd
308311 ConfigResetStat (ctx context.Context ) * StatusCmd
309312 ConfigSet (ctx context.Context , parameter , value string ) * StatusCmd
@@ -320,6 +323,7 @@ type Cmdable interface {
320323 ShutdownSave (ctx context.Context ) * StatusCmd
321324 ShutdownNoSave (ctx context.Context ) * StatusCmd
322325 SlaveOf (ctx context.Context , host , port string ) * StatusCmd
326+ SlowLogGet (ctx context.Context , num int64 ) * SlowLogCmd
323327 Time (ctx context.Context ) * TimeCmd
324328 DebugObject (ctx context.Context , key string ) * StringCmd
325329 ReadOnly (ctx context.Context ) * StatusCmd
@@ -364,6 +368,9 @@ type Cmdable interface {
364368 GeoRadiusStore (ctx context.Context , key string , longitude , latitude float64 , query * GeoRadiusQuery ) * IntCmd
365369 GeoRadiusByMember (ctx context.Context , key , member string , query * GeoRadiusQuery ) * GeoLocationCmd
366370 GeoRadiusByMemberStore (ctx context.Context , key , member string , query * GeoRadiusQuery ) * IntCmd
371+ GeoSearch (ctx context.Context , key string , q * GeoSearchQuery ) * StringSliceCmd
372+ GeoSearchLocation (ctx context.Context , key string , q * GeoSearchLocationQuery ) * GeoSearchLocationCmd
373+ GeoSearchStore (ctx context.Context , key , store string , q * GeoSearchStoreQuery ) * IntCmd
367374 GeoDist (ctx context.Context , key string , member1 , member2 , unit string ) * FloatCmd
368375 GeoHash (ctx context.Context , key string , members ... string ) * StringSliceCmd
369376}
@@ -3240,6 +3247,38 @@ func (c cmdable) GeoRadiusByMemberStore(
32403247 return cmd
32413248}
32423249
3250+ func (c cmdable ) GeoSearch (ctx context.Context , key string , q * GeoSearchQuery ) * StringSliceCmd {
3251+ args := make ([]interface {}, 0 , 13 )
3252+ args = append (args , "geosearch" , key )
3253+ args = geoSearchArgs (q , args )
3254+ cmd := NewStringSliceCmd (ctx , args ... )
3255+ _ = c (ctx , cmd )
3256+ return cmd
3257+ }
3258+
3259+ func (c cmdable ) GeoSearchLocation (
3260+ ctx context.Context , key string , q * GeoSearchLocationQuery ,
3261+ ) * GeoSearchLocationCmd {
3262+ args := make ([]interface {}, 0 , 16 )
3263+ args = append (args , "geosearch" , key )
3264+ args = geoSearchLocationArgs (q , args )
3265+ cmd := NewGeoSearchLocationCmd (ctx , q , args ... )
3266+ _ = c (ctx , cmd )
3267+ return cmd
3268+ }
3269+
3270+ func (c cmdable ) GeoSearchStore (ctx context.Context , key , store string , q * GeoSearchStoreQuery ) * IntCmd {
3271+ args := make ([]interface {}, 0 , 15 )
3272+ args = append (args , "geosearchstore" , store , key )
3273+ args = geoSearchArgs (& q .GeoSearchQuery , args )
3274+ if q .StoreDist {
3275+ args = append (args , "storedist" )
3276+ }
3277+ cmd := NewIntCmd (ctx , args ... )
3278+ _ = c (ctx , cmd )
3279+ return cmd
3280+ }
3281+
32433282func (c cmdable ) GeoDist (
32443283 ctx context.Context , key string , member1 , member2 , unit string ,
32453284) * FloatCmd {
0 commit comments