mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-03 12:18:11 +08:00
10 lines
186 B
C++
10 lines
186 B
C++
#include <drogon/drogon.h>
|
|
|
|
int main()
|
|
{
|
|
drogon::app().addListener("0.0.0.0", 8080);
|
|
drogon::app().createRedisClient("127.0.0.1", 6379);
|
|
drogon::app().run();
|
|
return 0;
|
|
}
|