mirror of https://github.com/Xhofe/alist
parent
2bae8e129e
commit
51cadd2d49
|
@ -23,7 +23,7 @@ type Link struct {
|
||||||
Status int // status maybe 200 or 206, etc
|
Status int // status maybe 200 or 206, etc
|
||||||
FilePath *string // local file, return the filepath
|
FilePath *string // local file, return the filepath
|
||||||
Expiration *time.Duration // url expiration time
|
Expiration *time.Duration // url expiration time
|
||||||
Handle func(w http.ResponseWriter, r *http.Request) error // custom handler
|
Handle func(w http.ResponseWriter, r *http.Request) error `json:"-"` // custom handler
|
||||||
}
|
}
|
||||||
|
|
||||||
type OtherArgs struct {
|
type OtherArgs struct {
|
||||||
|
|
Loading…
Reference in New Issue