Documentation ¶ Index ¶ type OptsExtra type ReqExtra type Stats type StatsConnection Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type OptsExtra ¶ type OptsExtra struct { Connections int `json:"connections"` // AutoTorrent when task download complete, and it is a .torrent file, it will be auto create a new task for the torrent file AutoTorrent bool `json:"autoTorrent"` } type ReqExtra ¶ type ReqExtra struct { Method string `json:"method"` Header map[string]string `json:"header"` Body string `json:"body"` } type Stats ¶ added in v1.5.4 type Stats struct { Connections []*StatsConnection `json:"connections"` } Stats for download type StatsConnection ¶ added in v1.7.0 type StatsConnection struct { Downloaded int64 `json:"downloaded"` Completed bool `json:"completed"` Failed bool `json:"failed"` RetryTimes int `json:"retryTimes"` } Source Files ¶ View all Source files model.go Click to show internal directories. Click to hide internal directories.