复现已有算法
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
#include <drogon/drogon.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
// Set HTTP listener address and port
|
||||
drogon::app().addListener("0.0.0.0", 8080);
|
||||
// Run HTTP framework,the method will block in the internal event loop
|
||||
drogon::app().createRedisClient("127.0.0.1", 6379);
|
||||
drogon::app().run();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user