mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 14:23:42 +00:00
重构fetcher接口
This commit is contained in:
1 parent
871185e7ea
commit
bdce3c84a3
12 files changed
+347
-397
No files matched your search
@@ -1,11 +1,11 @@
|
||||
package http
|
||||
|
||||
import "github.com/monkeyWie/gopeed-core/download/common"
|
||||
import "github.com/monkeyWie/gopeed-core/download/base"
|
||||
|
||||
type Event struct {
|
||||
status common.Status
|
||||
status base.Status
|
||||
}
|
||||
|
||||
func (e *Event) Status() common.Status {
|
||||
func (e *Event) Status() base.Status {
|
||||
return e.status
|
||||
}
|
||||
Reference in new issue
Block a user