Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBodyWith ¶
func ParseOptionalBody ¶
ParseOptionalBody parses an optional JSON request body. Unlike ParseBody it tolerates an absent or empty body, returning the zero value and no error — and it does so without consulting Content-Length, which is -1 under chunked transfer encoding even when a body is present. A present-but-malformed body still returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.