Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultMultipartFormMaxMemory = int64(32 << 20) // 32MB DefaultQuerySeparator = "," )
Functions ¶
Types ¶
type Option ¶ added in v0.1.13
type Option func(*option)
Option defines a function type for setting options.
func WithMultipartFormMaxMemory ¶ added in v0.1.13
WithMultipartFormMaxMemory sets the maximum memory for parsing multipart forms
- default is 32MB (32 << 20 bytes)
func WithQuerySeparator ¶ added in v0.1.13
WithQuerySeparator sets the separator for query parameters when binding slices
- default is "," -> ?ids=1,2,3
- set to "" to disable splitting
Click to show internal directories.
Click to hide internal directories.