Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormContent ¶
type FormContent struct { URL string `json:"url"` ParseTime string `json:"parse_time,omitempty"` Method string `json:"method,omitempty"` RemoteAddr string `json:"remote_addr,omitempty"` Host string `json:"host,omitempty"` Proto string `json:"proto,omitempty"` ProtoMajor int `json:"proto_major,omitempty"` ProtoMinor int `json:"proto_minor,omitempty"` Param string `json:"param,omitempty"` Referer string `json:"referer,omitempty"` Headers map[string]string `json:"headers,omitempty"` PostFormData map[string]string `json:"postData,omitempty"` QueryStrings map[string]string `json:"queryString,omitempty"` }
func FormPostParam ¶
func FormPostParam(c *gin.Context, paramKey string) (FormContent, error)
FormPostParam will remove HEADER Authorization
type HeaderContent ¶
type HeaderContent struct { ParseTime string `json:"parse_time,omitempty"` URL string `json:"url"` Method string `json:"method,omitempty"` RemoteAddr string `json:"remote_addr,omitempty"` Host string `json:"host,omitempty"` Proto string `json:"proto,omitempty"` ProtoMajor int `json:"proto_major,omitempty"` ProtoMinor int `json:"proto_minor,omitempty"` Param string `json:"param,omitempty"` Referer string `json:"referer,omitempty"` Headers map[string]string `json:"headers,omitempty"` Header string `json:"header,omitempty"` }
func HttpHeader ¶
func HttpHeader(c *gin.Context) (HeaderContent, error)
func HttpHeaderItem ¶
func HttpHeaderItem(c *gin.Context, headKey string) (HeaderContent, error)
type QueryContent ¶
type QueryContent struct { ParseTime string `json:"parse_time,omitempty"` URL string `json:"url"` Method string `json:"method,omitempty"` RemoteAddr string `json:"remote_addr,omitempty"` Host string `json:"host,omitempty"` Proto string `json:"proto,omitempty"` ProtoMajor int `json:"proto_major,omitempty"` ProtoMinor int `json:"proto_minor,omitempty"` Param string `json:"param,omitempty"` Referer string `json:"referer,omitempty"` Headers map[string]string `json:"headers,omitempty"` QueryStrings map[string]string `json:"queryString,omitempty"` }
func HttpQueryParam ¶
func HttpQueryParam(c *gin.Context, paramKey string) (QueryContent, error)
Click to show internal directories.
Click to hide internal directories.