Documentation ¶
Index ¶
- func Cookie(r *http.Request, name string) string
- func FormInt64Value(r *http.Request, param string) int64
- func HasQueryParam(r *http.Request, param string) bool
- func IntParam(r *http.Request, param string) (int64, error)
- func Param(r *http.Request, param, defaultValue string) string
- func QueryInt64Param(r *http.Request, param string, defaultValue int64) int64
- func QueryIntParam(r *http.Request, param string, defaultValue int) int
- func QueryParam(r *http.Request, param, defaultValue string) string
- func RealIP(r *http.Request) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormInt64Value ¶
FormInt64Value returns a form value as integer.
func HasQueryParam ¶
HasQueryParam checks if the query string contains the given parameter.
func QueryInt64Param ¶
QueryInt64Param returns a querystring parameter as int64.
func QueryIntParam ¶
QueryIntParam returns a querystring parameter as integer.
func QueryParam ¶
QueryParam returns a querystring parameter as string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.