mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-09 18:10:29 +00:00
18 lines
266 B
Go
18 lines
266 B
Go
package download
|
|
|
|
type EventKey string
|
|
|
|
const (
|
|
EventKeyStart = "start"
|
|
EventKeyPause = "pause"
|
|
EventKeyContinue = "continue"
|
|
EventKeyProgress = "progress"
|
|
EventKeyError = "error"
|
|
EventKeyDone = "done"
|
|
)
|
|
|
|
type Event struct {
|
|
EventKey
|
|
TaskInfo
|
|
}
|