mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
13 lines
459 B
Go
13 lines
459 B
Go
package bt
|
|
|
|
type config struct {
|
|
ListenPort int `json:"listenPort"`
|
|
Trackers []string `json:"trackers"`
|
|
// SeedKeep is always keep seeding after downloading is complete, unless manually stopped.
|
|
SeedKeep bool `json:"seedKeep"`
|
|
// SeedRatio is the ratio of uploaded data to downloaded data to seed.
|
|
SeedRatio float64 `json:"seedRatio"`
|
|
// SeedTime is the time in seconds to seed after downloading is complete.
|
|
SeedTime int64 `json:"seedTime"`
|
|
}
|