aboutsummaryrefslogtreecommitdiff
path: root/api_torrent_get.go
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-11-29 11:54:20 +0100
committerPatrick Spek <p.spek@tyil.nl>2024-11-29 11:54:20 +0100
commit50cf4ea66fbd0fa6fc2952945a9f3a410f51253c (patch)
tree0e0539236e7f4746a993d99f65bf61e87eea6b3f /api_torrent_get.go
parent69a29e20673eba9afcfeb75474f561e2e64b120d (diff)
downloadtransmission-50cf4ea66fbd0fa6fc2952945a9f3a410f51253c.tar.gz
transmission-50cf4ea66fbd0fa6fc2952945a9f3a410f51253c.tar.bz2
Add structs to cover the full possible output of torrent-get
Diffstat (limited to 'api_torrent_get.go')
-rw-r--r--api_torrent_get.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api_torrent_get.go b/api_torrent_get.go
index 7c4859a..9aa8fbd 100644
--- a/api_torrent_get.go
+++ b/api_torrent_get.go
@@ -17,6 +17,7 @@ type CallTorrentGetResponse struct {
type CallTorrentGetResponseArguments struct {
Torrents []Torrent `json:"torrents"`
+ Removed []Torrent `json:"removed"`
}
func (this *Client) CallTorrentGet(arguments CallTorrentGetArguments) (CallTorrentGetResponse, error) {