libtorrent

package module
v0.0.0-...-7d5da03 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: BSD-3-Clause Imports: 2 Imported by: 3

README

libtorrent-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSession

func DeleteSession(arg1 Session) (err error)

DeleteSession is a wrapper for libtorrent::session

Types

type Session

type Session interface {
	WrappedSession
	GetHandle() (SessionHandle, error)
}

Session is a wrapper for libtorrent::session

func NewSession

func NewSession(a ...interface{}) (ret Session, err error)

NewSession is a wrapper for libtorrent::session

type SessionHandle

type SessionHandle interface {
	WrappedSessionHandle
	AddTorrent(...interface{}) (TorrentHandle, error)
	AsyncAddTorrent(AddTorrentParams) error
	RemoveTorrent(...interface{}) error
}

SessionHandle is a wrapper for libtorrent::session_handle

type SessionHandleImpl

type SessionHandleImpl struct {
	WrappedSessionHandle
}

SessionHandleImpl ...

func (SessionHandleImpl) AddTorrent

func (p SessionHandleImpl) AddTorrent(a ...interface{}) (ret TorrentHandle, err error)

AddTorrent is a wrapper for libtorrent::session_handle::add_torrent

func (SessionHandleImpl) AsyncAddTorrent

func (p SessionHandleImpl) AsyncAddTorrent(arg2 AddTorrentParams) (err error)

AsyncAddTorrent is a wrapper for libtorrent::session_handle::async_add_torrent

func (SessionHandleImpl) RemoveTorrent

func (p SessionHandleImpl) RemoveTorrent(a ...interface{}) (err error)

RemoveTorrent is a wrapper for libtorrent::session_handle::remove_torrent

type SessionImpl

type SessionImpl struct {
	WrappedSession
}

SessionImpl ...

func (SessionImpl) GetHandle

func (p SessionImpl) GetHandle() (ret SessionHandle, err error)

GetHandle is a wrapper for libtorrent::session::get_handle

type TorrentHandle

type TorrentHandle interface {
	WrappedTorrentHandle
}

TorrentHandle is a wrapper for libtorrent::torrent_handle

type TorrentHandleImpl

type TorrentHandleImpl struct {
	WrappedTorrentHandle
}

TorrentHandleImpl ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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