std::string strError;
RedisClient client;
XDebug() << client.Connect("192.168.2.8", 6379, "gigac-20260420", strError);
XDebug() << strError;
XDebug() << "PING:" << client.Ping();
XDebug() << "RPUSH:" << client.PushToTail("TEST", "111222333", strError);
unsigned long long ullLLen = 0;
XDebug() << "LLEN:" << client.LLen("TEST", ullLLen, strError);
XDebug() << "LLEN=" << (long)ullLLen;
std::string strData;
XDebug() << "LPOP:" << client.PopFromHead("TEST", strData, strError);
XDebug() << "LPOP:" << strData;
XDebug() << "DEL:" << client.Delete("TEST", strError);
XDebug() << "SET:" << client.Set("name", "fanwenquan", strError);
XDebug() << "GET:" << client.Get("name", strData, strError);
XDebug() << "GET=" << strData;