# Functions
No description provided by the author
Bind decodes a request body and executes the Binder method of the payload structure.
No description provided by the author
DecodeForm decodes a given reader into an interface using the form decoder.
DecodeJSON decodes a given reader into an interface using the json decoder.
DecodeXML decodes a given reader into an interface using the xml decoder.
DefaultDecoder detects the correct decoder for use on an HTTP request and marshals into a given interface.
Error 错误.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetRequestContentType is a helper function that returns ContentType based on context or request headers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueryString Query will get a query parameter by key.
QueryStringInt32 QueryInt will get a query parameter by key and convert it to an int or return an error.
SetContentType is a middleware that forces response Content-Type.
Success 成功返回.
缓存返回.
SuccessWithPage 成功分页返回.
# Constants
ContentTypes handled by this package.
ContentTypes handled by this package.
ContentTypes handled by this package.
No description provided by the author
ContentTypes handled by this package.
ContentTypes handled by this package.
ContentTypes handled by this package.
No description provided by the author
ContentTypes handled by this package.
# Variables
No description provided by the author
No description provided by the author
Decode is a package-level variable set to our default Decoder.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Res 标准JSON输出格式.
ResPage 带分页的标准JSON输出格式.
# Interfaces
Bind decodes a request body and executes the Binder method of the payload structure.
# Type aliases
ContentType is an enumeration of common HTTP content types.