重构fetcher接口

This commit is contained in:
liwei committed 2021-03-03 20:12:51 +08:00
1 parent 871185e7ea
commit bdce3c84a3
12 files changed
+347 -397

No files matched your search

+3 -3
View File
@@ -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
}