Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedMimetype = fmt.Errorf("Unsupported content type")
Functions ¶
func UnmarshalWithConfig ¶ added in v1.8.2
Unmarshal requests with common entity types:
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Types ¶
type Config ¶ added in v1.8.2
type Config struct {
MaxMem int64
}
func (Config) WithOptions ¶ added in v1.8.2
type Option ¶ added in v1.8.2
func MaximumMemory ¶ added in v1.8.2
The maximum amount of memory that is permitted to buffer input data per request before it is offloaded to temporary disk storage. This is mainly only relevant to multipart file data.
Click to show internal directories.
Click to hide internal directories.