Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wangforthinker committed Apr 22, 2020
1 parent 806439f commit 5e75582
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 7 additions & 4 deletions dfdaemon/seed/seed.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ type Seed interface {
// GetStatus gets the status of seed file.
GetStatus() string

// URL gets the url of seed file.
URL() string
// GetURL gets the url of seed file.
GetURL() string

// Headers get the headers of seed file.
Headers() map[string][]string
// GetHeaders gets the headers of seed file.
GetHeaders() map[string][]string

// GetHeaders gets the taskID of seed file.
GetTaskID() string
}
3 changes: 3 additions & 0 deletions dfdaemon/seed/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ type BaseInfo struct {
// the url of seed file.
URL string

// the taskID of seed file.
TaskID string

// the header of seed file.
Header map[string][]string

Expand Down

0 comments on commit 5e75582

Please sign in to comment.