Versions in this module Expand all Collapse all v0 v0.1.0 Aug 28, 2025 Changes in this version + func AllGet(r *http.Request) url.Values + func AllPost(r *http.Request) url.Values + func GetAll(r *http.Request) url.Values + func GetAllGet(r *http.Request) url.Values + func GetAllPost(r *http.Request) url.Values + func GetArray(r *http.Request, key string, defaultValue []string) []string + func GetBool(r *http.Request, key string) bool + func GetBoolOr(r *http.Request, key string, defaultValue bool) bool + func GetFloat64(r *http.Request, key string) float64 + func GetFloat64Or(r *http.Request, key string, defaultValue float64) float64 + func GetIP(r *http.Request) string + func GetIPWithOptions(r *http.Request, opts IPOptions) string + func GetInt(r *http.Request, key string) int + func GetInt64(r *http.Request, key string) int64 + func GetInt64Or(r *http.Request, key string, defaultValue int64) int64 + func GetIntOr(r *http.Request, key string, defaultValue int) int + func GetMap(r *http.Request, key string) map[string]string + func GetMaps(r *http.Request, key string, defaultValue []map[string]string) []map[string]string + func GetString(r *http.Request, key string) string + func GetStringOr(r *http.Request, key string, defaultValue string) string + func GetStringTrimmed(r *http.Request, key string) string + func GetStringTrimmedOr(r *http.Request, key string, defaultValue string) string + func GetSubdomain(r *http.Request) string + func Has(r *http.Request, key string) bool + func HasGet(r *http.Request, key string) bool + func HasPost(r *http.Request, key string) bool + func IsPrivateIP(ipStr string) bool + type IPOptions struct + AdditionalHeaders []string + PreferForwardedFor bool + ReturnPrivateIfAllPrivate bool + TrustedProxies []string + Validate bool