go binding for lokinet
- C 74.7%
- C++ 18.6%
- Go 6.7%
| external | ||
| include | ||
| lib | ||
| .gitmodules | ||
| bootstrap.signed | ||
| go.mod | ||
| liblokinet.go | ||
| liblokinet_test.go | ||
| README.md | ||
liblokinet-go
Experimental go binding for liblokinet
This is not stable, this is a test, DO NOT USE IN PRODUCTION !
Use
go get -u github.com/monok-o/liblokinet-go
Build Lokinet
For build dependencies, look at lokinet's readme
Clone the repo with its submodules
git clone --recursive https://github.com/monok-o/liblokinet-go
cd liblokinet-go
Build lokinet
cd external/lokinet
mkdir build
cd build
# here we just set DBUILD_SHARED_LIBS=ON so it will build the lib
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
make -j$(nproc)
then move the generated liblokinet.so file from external/build/llarp to lib/