Documentation ¶
Index ¶
- func FileExists(filename string) bool
- func GetAllFile(dirPath string) (results []string, err error)
- func GetCert(resp *req.Response) (cert string)
- func GetHeaderMap(resp *req.Response) (headerMap map[string]string)
- func GetHeaderString(resp *req.Response) (headerString string)
- func HasInt(datas []int, to int) bool
- func HasStr(datas []string, to string) bool
- func Md5(s string) string
- func NewReqClient(proxy string, timeout int, headers []string) *req.Client
- func RandFromChoices(n int, choices string) string
- func RandLetterNumbers(n int) string
- func RandLetters(n int) string
- func RandLowLetterNumber(n int) string
- func ReadFile(filename string) (bytes []byte, err error)
- func ReadLines(filename string) (lines []string, err error)
- func RemoveDuplicate(list []string) []string
- func SaveMarshal(filename string, results interface{}) (err error)
- func SuffixStr(datas []string, to string) (string, bool)
- func WriteFile(filename string, data string) (err error)
- type CLI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func GetAllFile ¶
func GetHeaderMap ¶
func GetHeaderString ¶
func GetHeaderString(resp *req.Response) (headerString string)
func NewReqClient ¶
func RandFromChoices ¶
RandFromChoices 从choices里面随机获取
func RemoveDuplicate ¶
func SaveMarshal ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.