mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
15 lines
289 B
Go
15 lines
289 B
Go
package model
|
|
|
|
import "github.com/GopeedLab/gopeed/pkg/base"
|
|
|
|
type CreateTask struct {
|
|
Rid string `json:"rid"`
|
|
Req *base.Request `json:"req"`
|
|
Opt *base.Options `json:"opt"`
|
|
}
|
|
|
|
type CreateTaskBatch struct {
|
|
Reqs []*base.Request `json:"reqs"`
|
|
Opt *base.Options `json:"opt"`
|
|
}
|