fix: ignore handle in json (close #4251 close #4252)

pull/4261/head
Andy Hsu 2023-04-27 15:39:32 +08:00
parent 2bae8e129e
commit 51cadd2d49
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ type Link struct {
Status int // status maybe 200 or 206, etc
FilePath *string // local file, return the filepath
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 {