1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/client/main.cpp
2018-06-22 20:00:44 -04:00

15 lines
No EOL
232 B
C++

#include <llarp/api.hpp>
int
main(int argc, char* argv[])
{
std::string url = llarp::api::DefaultURL;
if(argc > 1)
{
url = argv[1];
}
llarp::api::Client cl;
if(!cl.Start(url))
return 1;
return cl.Mainloop();
}