Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient struct {
// contains filtered or unexported fields
}
HttpClient 这是 RAW HTTP 的包装 不建议直接使用 RAW HTTP CLIENT
var Instance *HttpClient
func NewHttpClient ¶
func (*HttpClient) DoReq ¶
func (c *HttpClient) DoReq(req *TheRequest) (*TheResponse, error)
func (*HttpClient) Get ¶
func (c *HttpClient) Get(u string) (*TheResponse, error)
Click to show internal directories.
Click to hide internal directories.