mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
15 lines
232 B
C++
15 lines
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();
|
||
|
}
|