Documentation
¶
Index ¶
- func BuildURL(r *http.Request, fragments ...string) *url.URL
- func CleanTempFile(file *os.File)
- func GetUpload(r *http.Request) (file io.Reader, filename, contentType string, contentLength int64, err error)
- func SanitizeFilename(filename string) string
- func ShowInline(contentType string) bool
- func ValidateContentType(h http.Header) bool
- type OptionFn
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanTempFile ¶
func SanitizeFilename ¶
func ShowInline ¶
func ValidateContentType ¶
Types ¶
type OptionFn ¶
type OptionFn func(*Server)
func MaxRequests ¶ added in v0.5.0
func MaxUploadSize ¶
func UseStorage ¶
Click to show internal directories.
Click to hide internal directories.