Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultHttpClient ¶
type DefaultHttpClient struct {
// contains filtered or unexported fields
}
func NewDefaultHttpClient ¶
func NewDefaultHttpClient() *DefaultHttpClient
func (*DefaultHttpClient) SetProxy ¶
func (cli *DefaultHttpClient) SetProxy(proxy string) error
func (*DefaultHttpClient) SetTimeout ¶
func (cli *DefaultHttpClient) SetTimeout(sec int64)
type FastHttpCli ¶
type FastHttpCli struct {
// contains filtered or unexported fields
}
func NewFastHttpCli ¶
func NewFastHttpCli() *FastHttpCli
func (*FastHttpCli) SetProxy ¶
func (cli *FastHttpCli) SetProxy(proxy string) error
func (*FastHttpCli) SetTimeout ¶
func (cli *FastHttpCli) SetTimeout(sec int64)
Click to show internal directories.
Click to hide internal directories.