Documentation ¶
Index ¶
- Constants
- func Base64DecodeString(src string) (dst string, err error)
- func Base64EncodeBytes(origin []byte) (result string)
- func Base64EncodeString(origin string, urlsafe bool) (result string)
- func CheckInList(list []string, item string) bool
- func ContainChineseChar(str string) bool
- func GetColly() *colly.Collector
- type HttpClient
- type Options
Constants ¶
View Source
const UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
Variables ¶
This section is empty.
Functions ¶
func Base64DecodeString ¶
func Base64EncodeBytes ¶
func Base64EncodeString ¶
func CheckInList ¶
func ContainChineseChar ¶
Types ¶
type HttpClient ¶
func GetHttpClient ¶
func GetHttpClient() *HttpClient
Click to show internal directories.
Click to hide internal directories.