liblokinet

package module
v0.0.0-...-b8cfa8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 1 Imported by: 0

README

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/

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Addr

func Addr() string

func Connect

func Connect(address string)

func Start

func Start() bool

func Stop

func Stop()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL