libtorrent

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

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

Go to latest
Published: May 26, 2015 License: BSD-3-Clause Imports: 1 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

libtorrent-go

SWIG Go bindings for libtorrent-rasterbar

Supported platforms
  • Android (ARM)
  • Linux (x64/x86/ARM)
  • Mac OSX (x64)
  • Windows (x64/x86)

Building instructions

libtorrent-go uses Docker to simplify cross-compilation. On your development machine it requires:

  • A working Docker setup (boot2docker is fine)
  • A working Go setup (GOPATH properly configured)
  • Make
Build all supported platforms
git clone https://github.com/steeve/libtorrent-go
cd libtorrent-go
make
Build specific platform (ex: Linux/x64)
git clone https://github.com/steeve/libtorrent-go
cd libtorrent-go
make PLATFORMS=linux-x64

Usage instructions

The simplest way to use libtorrent-go in your app is to build your code using the Docker images used when compiling the library. An example will soon be published.

When building for Windows, make sure you distribute libtorrent-go.dll along your executable. This is a current limitation when using native libraries on Windows. This will probably be fixed later.

  • Windows/x64: $GOPATH/pkg/windows_amd64/github.com/steeve/libtorrent-go.dll
  • Windows/x86: $GOPATH/pkg/windows_386/github.com/steeve/libtorrent-go.dll

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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