Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSession ¶
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 ¶
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 ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.