You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
308 B

package redishandle
import "context"
func (c *RedisClient) LPush(ctx context.Context, key string, value ...string) error {
return c.Client.LPush(ctx, key, value).Err()
}
func (c *RedisClient) RPush(ctx context.Context, key string, value ...string) error {
return c.Client.RPush(ctx, key, value).Err()
}