Documentation ¶
Index ¶
- func BindMatchHandlers(matchHandlers PatternHandlers, w http.ResponseWriter, r *http.Request)
- func GetSize(file multipart.File) int64
- func SaveAs(r *http.Request, saveAs SaveAsFunc) (int64, error)
- func SaveResponseAs(w http.ResponseWriter, r *http.Request, saveAsFunc SaveAsFunc)
- type PatternHandlers
- type SaveAsFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindMatchHandlers ¶
func BindMatchHandlers(matchHandlers PatternHandlers, w http.ResponseWriter, r *http.Request)
func SaveResponseAs ¶
func SaveResponseAs(w http.ResponseWriter, r *http.Request, saveAsFunc SaveAsFunc)
Types ¶
type PatternHandlers ¶
type PatternHandlers map[string]func(http.ResponseWriter, *http.Request)
type SaveAsFunc ¶
type SaveAsFunc func(file multipart.File, header *multipart.FileHeader) string
Click to show internal directories.
Click to hide internal directories.