Documentation ¶
Index ¶
- type App
- func (app *App) Client() *torrent.Client
- func (app *App) Close() error
- func (app *App) Torrent(hash string) (*torrent.Torrent, bool)
- func (app *App) Track(t *torrent.Torrent) (*torrent.Torrent, error)
- func (app *App) TrackContext(ctx context.Context, t *torrent.Torrent) (*torrent.Torrent, error)
- func (app *App) TrackHash(hash metainfo.Hash) (*torrent.Torrent, error)
- func (app *App) TrackHashContext(ctx context.Context, hash metainfo.Hash) (*torrent.Torrent, error)
- func (app *App) TrackMagnet(magnet *metainfo.Magnet) (*torrent.Torrent, error)
- func (app *App) TrackMagnetContext(ctx context.Context, magnet *metainfo.Magnet) (*torrent.Torrent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
TODO add torrent management(disk cache size control, start/stop and etc.).
func (*App) TrackContext ¶
func (*App) TrackHashContext ¶
func (*App) TrackMagnet ¶
Click to show internal directories.
Click to hide internal directories.