Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseQuery ¶
ParseQuery 获取URL参数 https://studygolang.com/articles/2876
func UriFilterExcludeQueryString ¶ added in v1.0.51
UriFilterExcludeQueryString 过滤掉url中的参数
Types ¶
type ResponseUrlParse ¶ added in v1.0.51
type ResponseUrlParse struct { Uri string `json:"uri"` // URI Urn string `json:"urn"` // URN Url string `json:"url"` // URL Scheme string `json:"scheme"` // 协议 Host string `json:"host"` // 主机 Hostname string `json:"hostname"` // 主机名 Port string `json:"port"` // 端口 Path string `json:"path"` // 路径 RawQuery string `json:"raw_query"` // 参数 ? Fragment string `json:"fragment"` // 片段 # }
ResponseUrlParse 返回参数
Click to show internal directories.
Click to hide internal directories.