Explorar el Código

更新 src/redis.h

1585346868 hace 5 meses
padre
commit
bd69026413
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/redis.h

+ 3 - 0
src/redis.h

@@ -101,6 +101,9 @@ namespace module
 		sol::object command(const std::string& cmd, sol::this_state ts);
 
 		sol::object command_ex(const sol::table& args, sol::this_state ts);
+
+
+		void close();
 	private:
 		// 连接
 		redisContext* m_context = nullptr;