mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
15 lines
No EOL
232 B
C++
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();
|
|
} |