Documentation ¶
Index ¶
- func CreateHttpClient() *http.Client
- func CreateReqClient() *req.Client
- func CreateRestyClient() *resty.Client
- func FileIORead(url string) string
- func GetRandomAgent() map[string]string
- func Http(target string, proxy string) ([]byte, error)
- func HttpStrings(target string, proxy string) string
- func Req(url string, proxy string) ([]byte, error)
- func ReqIOReader(url string, proxy string) io.Reader
- func ReqStrings(url string, proxy string) string
- func Resty(url string, proxy string) ([]byte, error)
- func RestyStrings(url string, proxy string) string
- func UCRead(fn string) string
- type FileIO
- type Transfer
- type UsersCloud
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHttpClient ¶
func CreateReqClient ¶
func CreateReqClient() *req.Client
func CreateRestyClient ¶
func CreateRestyClient() *resty.Client
func GetRandomAgent ¶
func HttpStrings ¶
HttpStrings 远程读取,返回 string 类型
func ReqIOReader ¶
ReqIOReader 远程读取,返回 string 类型
func RestyStrings ¶
RestyStrings 远程读取,返回 string 类型
Types ¶
type FileIO ¶
func (FileIO) FileIOUpload ¶
FileIOUpload 获取上传 file.io 后的文件Url
type Transfer ¶
func (Transfer) TransferUpload ¶
type UsersCloud ¶
func (UsersCloud) UCUpload ¶
func (uc UsersCloud) UCUpload() string
Click to show internal directories.
Click to hide internal directories.