Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cookie ¶ added in v0.0.2
A scanner to scan http cookies for a url from a `http.CookieJar` to a struct
type Directory ¶ added in v0.0.2
type Directory struct {
// contains filtered or unexported fields
}
A scanner to scan os file's content to a struct
type Image ¶ added in v0.0.2
func NewImage ¶ added in v0.0.2
func NewImage(v *MultipartValues) *Image
type JSON ¶ added in v0.0.2
type JSON struct {
// contains filtered or unexported fields
}
A scanner to scan json value from an `io.Reader` to a struct
func NewJSONBytes ¶ added in v0.0.2
type Multipart ¶ added in v0.0.2
type Multipart struct {
// contains filtered or unexported fields
}
A scanner to scan multipart form values, files, from a `*scanner.MultipartValues` to a struct You can create a `*scanner.MultipartValues` instance with the `scanner.MultipartValuesFromParser` function.
func NewMultipart ¶ added in v0.0.2
func NewMultipart(v *MultipartValues) *Multipart
type MultipartParser ¶
type MultipartValues ¶
func MultipartValuesFromParser ¶
func MultipartValuesFromParser(p MultipartParser, size int64, names ...string) (*MultipartValues, error)
MultipartValuesFromParser takes a generic parser that is usually an `*http.Request` and returns `*scanner.MultipartValues` to use it with a `scanner.MultipartScanner` or `scanner.ImageScanner`
func (MultipartValues) Get ¶
func (v MultipartValues) Get(key string) any
Click to show internal directories.
Click to hide internal directories.