package
1.0.26
Repository: https://github.com/askasoft/pango.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AppendPrefix returns a handler that serves HTTP requests by appending the given prefix from the request URL's Path (and RawPath if set) and invoking the handler hh.
CopyMultipartFile read multipart file to the specific buffer 'dst'.
Dir returns a http.FileSystem that can be used by http.FileServer().
No description provided by the author
FixedModTimeFS returns a FileSystem with fixed ModTime.
FS returns a http.FileSystem that can be used by http.FileServer().
IsStatusClientError check status is client side error (400-499).
IsStatusServerError check status is server side error (500-599).
NewHeadersWriter create a http.ResponseWriter to append on WriteHeader(statusCode int).
NewHeaderWriter create a http.ResponseWriter to append on WriteHeader(statusCode int).
No description provided by the author
NoRedirect just return http.ErrUseLastResponse.
ParseList parses a comma-separated list of values as described by RFC 2068 and returns list elements.
ParsePairs extracts key/value pairs from a comma-separated list of values as described by RFC 2068 and returns a map[key]value.
ReadMultipartFile read multipart file and return it's content []byte.
SaveMultipartFile save multipart file to the specific local file 'dst'.
SetAttachmentHeader set header Content-Disposition: attachment; filename=...
URLReplace returns a handler that serves HTTP requests by replacing the request URL's Path (and RawPath if set) (use strings.Replace(path, src, des) and invoking the handler hh.

# Structs

No description provided by the author