feat: 基于 drogon_ctl 初始化仓库

This commit is contained in:
2025-10-01 07:49:10 +00:00
commit 34c9d859b8
17 changed files with 4229 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#include <drogon/drogon.h>
int main() {
//Set HTTP listener address and port
drogon::app().addListener("0.0.0.0", 5555);
//Load config file
//drogon::app().loadConfigFile("../config.json");
//drogon::app().loadConfigFile("../config.yaml");
//Run HTTP framework,the method will block in the internal event loop
drogon::app().run();
return 0;
}