Versions in this module Expand all Collapse all v4 v4.0.0 Jul 11, 2026 Changes in this version + func AllowedContentTypes(types ...string) []string + func MaxFileBytes(n int64) int64 + func ValidationProblem(err error) httpx.Problem + func WriteValidationProblem(w http.ResponseWriter, err error) + type Config struct + AllowedContentTypes []string + MaxFileBytes int64 + MaxMemory int64 + MaxRequestBytes int64 + RequiredFiles []string + type File struct + ContentType string + FieldName string + FileHeader *multipart.FileHeader + Filename string + Header textproto.MIMEHeader + Size int64 + func RequireFile(form Form, field string) (File, error) + func (f File) Open() (multipart.File, error) + type Form struct + Files map[string][]File + Values map[string][]string + func DecodeMultipart(r *http.Request, config Config) (Form, error) Other modules containing this package github.com/aatuh/api-toolkit/v3