Documentation
¶
Index ¶
- type Client
- func (c *Client) AddTorrent(ctx context.Context, torrentURL string) (*transmissionrpc.Torrent, error)
- func (c *Client) AddTorrentFromFile(ctx context.Context, torrentPath string) (*transmissionrpc.Torrent, error)
- func (c *Client) GetCompletedDownloads(ctx context.Context) ([]*transmissionrpc.Torrent, error)
- func (c *Client) GetSessionStats(ctx context.Context) (*transmissionrpc.SessionStats, error)
- func (c *Client) GetTorrentInfo(ctx context.Context, id int64) (*transmissionrpc.Torrent, error)
- func (c *Client) RemoveTorrents(ctx context.Context, id []int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddTorrent ¶
func (*Client) AddTorrentFromFile ¶
func (*Client) GetCompletedDownloads ¶
func (*Client) GetSessionStats ¶
func (c *Client) GetSessionStats(ctx context.Context) (*transmissionrpc.SessionStats, error)
func (*Client) GetTorrentInfo ¶
Click to show internal directories.
Click to hide internal directories.