revert(quark): remove preset range header

This commit is contained in:
Andy Hsu
2023-04-17 14:39:21 +08:00
parent ecd167d2f9
commit 7f35aab071
3 changed files with 6 additions and 14 deletions

View File

@ -17,13 +17,12 @@ type LinkArgs struct {
}
type Link struct {
URL string `json:"url"`
Header http.Header `json:"header"` // needed header
PresetHeader http.Header `json:"preset_header"`
Data io.ReadCloser // return file reader directly
Status int // status maybe 200 or 206, etc
FilePath *string // local file, return the filepath
Expiration *time.Duration // url expiration time
URL string `json:"url"`
Header http.Header `json:"header"` // needed header
Data io.ReadCloser // return file reader directly
Status int // status maybe 200 or 206, etc
FilePath *string // local file, return the filepath
Expiration *time.Duration // url expiration time
}
type OtherArgs struct {