Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Header ¶
type Header = httpclient.H
type Query ¶
type Query = httpclient.H
type ResponseHeader ¶
type ResponseHeader struct {
ContentEncoding string `header:"Content-Encoding"`
}
ResponseHeader 用于解析 服务端 返回的http header
type ResponseMiddler ¶
type ResponseMiddler struct{}
ResponseMiddler response拦截器修改示例
func (*ResponseMiddler) ModifyResponse ¶
func (d *ResponseMiddler) ModifyResponse(response *http.Response) error
Click to show internal directories.
Click to hide internal directories.