Documentation
¶
Index ¶
- Constants
- func BindData(destination interface{}, data map[string][]string, tag string) error
- func GetIPFromRequest(ctx *http.Request) string
- func HttpBind(i interface{}, req *http.Request) (err error)
- func HttpBindQuery(i interface{}, req *http.Request) (err error)
- func UnmarshalQuery(destination any, queryString, tag string) error
- type HTTPError
Constants ¶
View Source
const MIMEMultipartForm = "multipart/form-data"
Variables ¶
This section is empty.
Functions ¶
func GetIPFromRequest ¶
FromRequest returns client's real public IP address from http request headers.
func HttpBindQuery ¶
func UnmarshalQuery ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.