Documentation ¶
Index ¶
- type Config
- type Engine
- func (e *Engine) Config() Config
- func (e *Engine) Configure(c Config) error
- func (e *Engine) DeleteTorrent(infohash string) error
- func (e *Engine) GetTorrents() map[string]*Torrent
- func (e *Engine) NewMagnet(magnetURI string) error
- func (e *Engine) NewTorrent(spec *torrent.TorrentSpec) error
- func (e *Engine) StartFile(infohash, filepath string) error
- func (e *Engine) StartTorrent(infohash string) error
- func (e *Engine) StopFile(infohash, filepath string) error
- func (e *Engine) StopTorrent(infohash string) error
- type File
- type Torrent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
the Engine Cloud Torrent engine, backed by anacrolix/torrent
func (*Engine) DeleteTorrent ¶
func (*Engine) GetTorrents ¶
GetTorrents moves torrents out of the anacrolix/torrent and into the local cache
func (*Engine) NewTorrent ¶
func (e *Engine) NewTorrent(spec *torrent.TorrentSpec) error
func (*Engine) StartTorrent ¶
func (*Engine) StopTorrent ¶
Click to show internal directories.
Click to hide internal directories.