mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
11 lines
387 B
Go
11 lines
387 B
Go
package http
|
|
|
|
// DefaultUserAgent is shared by HTTP downloads and extension HTTP requests.
|
|
const DefaultUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
|
|
|
|
type config struct {
|
|
UserAgent string `json:"userAgent"`
|
|
Connections int `json:"connections"`
|
|
UseServerCtime bool `json:"useServerCtime"`
|
|
}
|