Documentation ¶
Index ¶
- func IsXMLHttpRequest(r *http.Request) bool
- func Params(req *http.Request, prefix ...string) (map[string]string, error)
- func ParseQuery(params url.Values) string
- func ParseUrlSpecialChars(s string) string
- func RemoteIP(req *http.Request) string
- func ToParams(values url.Values, prefix ...string) map[string]string
- func Values(req *http.Request) (values url.Values, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsXMLHttpRequest ¶
IsXMLHttpRequest reports whether the request is a Ajax Request.
func Params ¶
Params form contains the parsed form data, including both the URL field's query parameters and the POST or PUT form data.
func ParseQuery ¶
ParseQuery returns the url.Query by the url.Values.
func ParseUrlSpecialChars ¶
ParseUrlSpecialChars parse url.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.