Documentation ¶
Index ¶
Constants ¶
View Source
const RewrittenFieldsHeader = "Gitlab-Workhorse-Multipart-Fields"
Variables ¶
This section is empty.
Functions ¶
func HandleFileUploads ¶ added in v0.6.1
func HandleFileUploads(w http.ResponseWriter, r *http.Request, h http.Handler, tempPath string, filter MultipartFormProcessor)
Types ¶
type MultipartClaims ¶ added in v1.2.0
type MultipartFormProcessor ¶ added in v0.6.1
type MultipartFormProcessor interface { ProcessFile(formName, fileName string, writer *multipart.Writer) error ProcessField(formName string, writer *multipart.Writer) error Finalize() error }
These methods are allowed to have thread-unsafe implementations.
Click to show internal directories.
Click to hide internal directories.