更新 src/redis.h
This commit is contained in:
@@ -101,6 +101,9 @@ namespace module
|
|||||||
sol::object command(const std::string& cmd, sol::this_state ts);
|
sol::object command(const std::string& cmd, sol::this_state ts);
|
||||||
|
|
||||||
sol::object command_ex(const sol::table& args, sol::this_state ts);
|
sol::object command_ex(const sol::table& args, sol::this_state ts);
|
||||||
|
|
||||||
|
|
||||||
|
void close();
|
||||||
private:
|
private:
|
||||||
// 连接
|
// 连接
|
||||||
redisContext* m_context = nullptr;
|
redisContext* m_context = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user