Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllResponse ¶
type AllResponse struct { Index int `json:"id"` Torrents TorrentSet `json:"result"` Error RpcError `json:"error"` }
type Deluge ¶
func (*Deluge) MoveToQueueTop ¶
MoveToQueueTop moves a torrent to the queue top
type ResponseEntry ¶ added in v0.4.0
type RpcResponse ¶
type RpcResponse struct { Id int `json:"id"` Result bool `json:"result"` Error RpcError `json:"error"` }
func (RpcResponse) String ¶
func (r RpcResponse) String() string
type RpcResponseComplex ¶ added in v0.4.0
type TorrentContent ¶
type TorrentContent struct { Index int `json:"id"` TorrentResult TorrentResult `json:"result"` Error RpcError `json:"error"` }
type TorrentDetail ¶
type TorrentEntry ¶
type TorrentResult ¶
type TorrentResult struct { Type string `json:"type"` Contents map[string]TorrentDetail `json:"contents"` }
type TorrentSet ¶
type TorrentSet struct {
Map map[string]TorrentEntry `json:"torrents"`
}
Click to show internal directories.
Click to hide internal directories.