go binding for lokinet
  • C 74.7%
  • C++ 18.6%
  • Go 6.7%
Find a file
2022-01-31 21:22:35 +01:00
external test for binding the lib 2022-01-27 13:31:19 +01:00
include commit forgoten files 2022-01-31 19:28:13 +01:00
lib better structure for C binding 2022-01-31 19:27:54 +01:00
.gitmodules test for binding the lib 2022-01-27 13:31:19 +01:00
bootstrap.signed test for binding the lib 2022-01-27 13:31:34 +01:00
go.mod move from github to codeberg 2022-01-31 21:22:35 +01:00
liblokinet.go better structure for C binding 2022-01-31 19:27:54 +01:00
liblokinet_test.go better structure for C binding 2022-01-31 19:27:54 +01:00
README.md make it a lib 2022-01-29 04:28:20 +01:00

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/