code: func (scg scanCommandGroup) xsscanCommand(c *client) error {
  	args := c.args
  
  	if len(args) < 2 {
  		return ErrCmdParams
  	}
  
  	key := args[0]
  
  	cursor, match, count, desc, err := scg.parseArgs(args[1:])
  
  	if err != nil {
  		return err
  	}
  
  	var ay [][]byte
  
  	if !desc {
  		ay, err = c.db.SScan(key, cursor, count, false, match)
  	} else {
  		ay, err = c.db.SRevScan(key, cursor, count, false, match)
  	}
  
  	if err != nil {
  		return err
  	}
  
  	data := make([]interface{}, 2)
  	if len(ay) < count {
  		data[0] = scg.lastCursor
  	} else {
  		data[0] = ay[len(ay)-1]
  	}
  
  	data[1] = ay
  
  	c.resp.writeArray(data)
  	return nil
  }
docs: // XSSCAN key cursor [MATCH match] [COUNT count] [ASC|DESC]