memgraph/speedy/test.cpp

17 lines
230 B
C++
Raw Normal View History

#include <iostream>
#include "speedy.hpp"
int main(void)
{
2015-09-20 20:30:26 +08:00
uv::UvLoop loop;
http::Ipv4 ip("0.0.0.0", 3400);
2015-09-20 20:30:26 +08:00
speedy::Speedy app(loop, ip);
app.listen();
2015-09-20 20:30:26 +08:00
loop.run(uv::UvLoop::Mode::Default);
return 0;
}