mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-07 15:20:31 +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();
|
|
} |