mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
20 lines
484 B
Go
20 lines
484 B
Go
package http
|
|
|
|
type ReqExtra struct {
|
|
Method string `json:"method"`
|
|
Header map[string]string `json:"header"`
|
|
Body string `json:"body"`
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
// Stats for download
|
|
type Stats struct {
|
|
// http stats
|
|
// health indicators of http
|
|
}
|