Documentation ¶
Index ¶
- type Filter
- type Options
- type Request
- type URL
- func (u *URL) FileExt() string
- func (u *URL) FileName() string
- func (u *URL) NavigationUrl() string
- func (u *URL) NoFragmentUrl() string
- func (u *URL) NoQueryUrl() string
- func (u *URL) NoSchemeFragmentUrl() string
- func (u *URL) ParentPath() string
- func (u *URL) QueryMap() map[string]interface{}
- func (u *URL) RootDomain() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { URL *URL Method string Headers map[string]interface{} PostData string Filter Filter Source string RedirectionFlag bool Proxy string }
func GetRequest ¶
* 获取Request对象 可选设置headers和postData
func (*Request) PostDataMap ¶
* 返回POST请求数据解析后的map结构
支持 application/x-www-form-urlencoded 、application/json
如果解析失败,则返回 key: postDataStr 的map结构
func (*Request) SimpleFormat ¶
Click to show internal directories.
Click to hide internal directories.