Documentation ¶
Index ¶
- Variables
- func DS(saltType int) string
- func GetBytes(url string, headers map[string]string) ([]byte, error)
- func GetJson(url string, headers map[string]string) (gjson.Result, error)
- func GetMD5Hash(text string) string
- func HTTPGetReadCloser(url string, headers map[string]string) (io.ReadCloser, error)
- func HTTPPostReadCloser(url string, data []byte, headers map[string]string) (io.ReadCloser, error)
- func ParseCookie(s string) map[string]string
- func PostBytes(url string, data []byte, headers map[string]string) ([]byte, error)
- func RandStringBytes(n int) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // UserAgent HTTP请求时使用的UA UserAgent = "" /* 130-byte string literal not displayed */ )
Functions ¶
func GetMD5Hash ¶
func HTTPGetReadCloser ¶
HTTPGetReadCloser 从 Http url 获取 io.ReadCloser
func HTTPPostReadCloser ¶
HTTPPostReadCloser 从 Http url 获取 io.ReadCloser
func ParseCookie ¶
func RandStringBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.