Documentation
¶
Overview ¶
Package transmission implements a library to talk to Transmission.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
A Conn represents a connection to Transmission.
func (*Conn) Stats ¶
func (c *Conn) Stats() (*Statistics, error)
Stats returns current statistics (speed, number of torrents, etc.).
type Statistics ¶
type Statistics struct {
DownloadSpeed, UploadSpeed int
TorrentCount, ActiveTorrentCount, PausedTorrentcount int
}
A Statistics holds generic stats of Transmission.
func (*Statistics) String ¶
func (s *Statistics) String() string
Click to show internal directories.
Click to hide internal directories.