SYMBOL INDEX (199 symbols across 26 files) FILE: example/lesson/lesson1/lesson1.go function main (line 11) | func main() { FILE: example/lesson/lesson2/lesson2.go function main (line 11) | func main() { FILE: example/lesson/lesson3/lesson3.go function init (line 12) | func init() { function main (line 19) | func main() { FILE: example/lesson/lesson4/lesson4.go function main (line 13) | func main() { function MyParse (line 64) | func MyParse(data []byte) string { FILE: example/lesson/lesson5/lesson5.go function init (line 17) | func init() { function main (line 21) | func main() { function parse (line 42) | func parse(data []byte) string { FILE: example/practice/helloworld/main.go function init (line 9) | func init() { function main (line 16) | func main() { FILE: example/practice/pictures/main.go function main (line 19) | func main() { function DownloadHTMLPictures (line 41) | func DownloadHTMLPictures(URL string, SaveDir string, MinerNum int, Prox... function DownloadURLPictures (line 67) | func DownloadURLPictures(PictureUrls []string, SaveDir string, MinerNum ... FILE: example/practice/upload/client/main.go function postFile (line 8) | func postFile(filename string, targetUrl string) { function main (line 19) | func main() { FILE: example/practice/upload/main.go function main (line 10) | func main() { function upload (line 18) | func upload(w http.ResponseWriter, r *http.Request) { function index (line 36) | func index(w http.ResponseWriter, r *http.Request) { constant tpl (line 40) | tpl = ` FILE: expert/query.go function QueryBytes (line 10) | func QueryBytes(content []byte) (*goquery.Document, error) { function QueryString (line 15) | func QueryString(content string) (*goquery.Document, error) { function FindPicture (line 21) | func FindPicture(s string) []string { FILE: expert/query_test.go function TestFindPicture (line 8) | func TestFindPicture(t *testing.T) { FILE: miner/client.go function NewJar (line 16) | func NewJar() *cookiejar.Jar { function NewProxyClient (line 51) | func NewProxyClient(proxyString string) (*http.Client, error) { function NewClient (line 97) | func NewClient() *http.Client { FILE: miner/config.go type Worker (line 14) | type Worker struct method SetHeader (line 64) | func (worker *Worker) SetHeader(header http.Header) *Worker { method SetHeaderParam (line 74) | func (worker *Worker) SetHeaderParam(k, v string) *Worker { method SetCookie (line 83) | func (worker *Worker) SetCookie(v string) *Worker { method SetCookieByFile (line 93) | func (worker *Worker) SetCookieByFile(file string) (*Worker, error) { method SetUa (line 109) | func (worker *Worker) SetUa(ua string) *Worker { method SetRefer (line 118) | func (worker *Worker) SetRefer(refer string) *Worker { method SetHost (line 127) | func (worker *Worker) SetHost(host string) *Worker { method SetUrl (line 133) | func (worker *Worker) SetUrl(url string) *Worker { method SetFileInfo (line 146) | func (worker *Worker) SetFileInfo(fileName, fileFormName string) *Work... method SetMethod (line 156) | func (worker *Worker) SetMethod(method string) *Worker { method SetWaitTime (line 190) | func (worker *Worker) SetWaitTime(num int) *Worker { method SetDownloadFileReadMB (line 202) | func (worker *Worker) SetDownloadFileReadMB(downloadFileReadMB int64) ... method SetBData (line 214) | func (worker *Worker) SetBData(data []byte) *Worker { method SetForm (line 223) | func (worker *Worker) SetForm(form url.Values) *Worker { method SetFormParam (line 232) | func (worker *Worker) SetFormParam(k, v string) *Worker { method SetContext (line 242) | func (worker *Worker) SetContext(ctx context.Context) *Worker { method SetBeforeAction (line 251) | func (worker *Worker) SetBeforeAction(fc func(context.Context, *Worker... method SetAfterAction (line 260) | func (worker *Worker) SetAfterAction(fc func(context.Context, *Worker)... method Clear (line 271) | func (worker *Worker) Clear() *Worker { method ClearAll (line 282) | func (worker *Worker) ClearAll() *Worker { method ClearCookie (line 293) | func (worker *Worker) ClearCookie() *Worker { method GetCookies (line 303) | func (worker *Worker) GetCookies() []*http.Cookie { method GetResponseStatusCode (line 312) | func (worker *Worker) GetResponseStatusCode() int { type Request (line 49) | type Request struct type Response (line 57) | type Response struct function SetHeader (line 70) | func SetHeader(header http.Header) *Worker { function SetHeaderParam (line 79) | func SetHeaderParam(k, v string) *Worker { function SetCookie (line 88) | func SetCookie(v string) *Worker { function SetCookieByFile (line 105) | func SetCookieByFile(file string) (*Worker, error) { function SetUa (line 114) | func SetUa(ua string) *Worker { function SetRefer (line 123) | func SetRefer(refer string) *Worker { function SetUrl (line 142) | func SetUrl(url string) *Worker { function SetFileInfo (line 152) | func SetFileInfo(fileName, fileFormName string) *Worker { function SetMethod (line 186) | func SetMethod(method string) *Worker { function SetWaitTime (line 198) | func SetWaitTime(num int) *Worker { function SetDownloadFileReadMB (line 210) | func SetDownloadFileReadMB(downloadFileReadMB int64) *Worker { function SetBData (line 219) | func SetBData(data []byte) *Worker { function SetForm (line 228) | func SetForm(form url.Values) *Worker { function SetFormParam (line 237) | func SetFormParam(k, v string) *Worker { function SetContext (line 247) | func SetContext(ctx context.Context) *Worker { function SetBeforeAction (line 256) | func SetBeforeAction(fc func(context.Context, *Worker)) *Worker { function SetAfterAction (line 265) | func SetAfterAction(fc func(context.Context, *Worker)) *Worker { function Clear (line 277) | func Clear() *Worker { function ClearAll (line 288) | func ClearAll() *Worker { function ClearCookie (line 298) | func ClearCookie() *Worker { function GetCookies (line 320) | func GetCookies() []*http.Cookie { function GetResponseStatusCode (line 324) | func GetResponseStatusCode() int { FILE: miner/cons.go constant VERSION (line 6) | VERSION = "1.0.13" constant GET (line 9) | GET = "GET" constant POST (line 10) | POST = "POST" constant POSTJSON (line 11) | POSTJSON = "POSTJSON" constant POSTXML (line 12) | POSTXML = "POSTXML" constant POSTFILE (line 13) | POSTFILE = "POSTFILE" constant PUT (line 14) | PUT = "PUT" constant PUTJSON (line 15) | PUTJSON = "PUTJSON" constant PUTXML (line 16) | PUTXML = "PUTXML" constant PUTFILE (line 17) | PUTFILE = "PUTFILE" constant DELETE (line 18) | DELETE = "DELETE" constant OTHER (line 19) | OTHER = "OTHER" constant HTTPFORMContentType (line 22) | HTTPFORMContentType = "application/x-www-form-urlencoded" constant HTTPJSONContentType (line 23) | HTTPJSONContentType = "application/json" constant HTTPXMLContentType (line 24) | HTTPXMLContentType = "text/xml" constant HTTPFILEContentType (line 25) | HTTPFILEContentType = "multipart/form-data" function SetGlobalTimeout (line 43) | func SetGlobalTimeout(num int) { function SetDefaultTimeOut (line 47) | func SetDefaultTimeOut(num int) { function MergeCookie (line 52) | func MergeCookie(before []*http.Cookie, after []*http.Cookie) []*http.Co... function CloneHeader (line 77) | func CloneHeader(h map[string][]string) map[string][]string { FILE: miner/default.go function init (line 8) | func init() { function ToString (line 24) | func ToString() string { function JsonToString (line 30) | func JsonToString() (string, error) { function Clone (line 34) | func Clone() *Worker { function Get (line 38) | func Get() (body []byte, e error) { function Delete (line 42) | func Delete() (body []byte, e error) { function Go (line 46) | func Go() (body []byte, e error) { function GoByMethod (line 50) | func GoByMethod(method string) (body []byte, e error) { function OtherGo (line 54) | func OtherGo(method, contentType string) (body []byte, e error) { function Post (line 58) | func Post() (body []byte, e error) { function PostJSON (line 62) | func PostJSON() (body []byte, e error) { function PostFILE (line 66) | func PostFILE() (body []byte, e error) { function PostXML (line 70) | func PostXML() (body []byte, e error) { function Put (line 74) | func Put() (body []byte, e error) { function PutJSON (line 77) | func PutJSON() (body []byte, e error) { function PutFILE (line 81) | func PutFILE() (body []byte, e error) { function PutXML (line 85) | func PutXML() (body []byte, e error) { FILE: miner/log.go constant DEBUG (line 10) | DEBUG Level = golog.DebugLevel constant INFO (line 11) | INFO Level = golog.InfoLevel constant WARN (line 12) | WARN Level = golog.WarnLevel constant ERROR (line 13) | ERROR Level = golog.ErrorLevel function init (line 21) | func init() { function SetLogLevel (line 26) | func SetLogLevel(level Level) { function Log (line 32) | func Log() golog.LoggerInterface { FILE: miner/multworker.go type _Workers (line 10) | type _Workers struct method Get (line 15) | func (pool *_Workers) Get(name string) (b *Worker, ok bool) { method Set (line 22) | func (pool *_Workers) Set(name string, b *Worker) { method Delete (line 29) | func (pool *_Workers) Delete(name string) { FILE: miner/ua.go function UaInit (line 13) | func UaInit() { function RandomUa (line 475) | func RandomUa() string { FILE: miner/util.go function Wait (line 13) | func Wait(waitTime int) { function CopyM (line 23) | func CopyM(h http.Header) http.Header { function TooSortSizes (line 37) | func TooSortSizes(data []byte, sizes float64) error { function OutputMaps (line 45) | func OutputMaps(uuid string, info string, args map[string][]string) { FILE: miner/worker.go function NewWorkerByClient (line 18) | func NewWorkerByClient(client *http.Client) *Worker { function NewAPI (line 29) | func NewAPI() *Worker { function NewWorker (line 37) | func NewWorker(proxyIpString interface{}) (*Worker, error) { function NewWorkerWithProxy (line 56) | func NewWorkerWithProxy(proxyIpString interface{}) (*Worker, error) { function NewWorkerWithNoProxy (line 61) | func NewWorkerWithNoProxy() *Worker { function New (line 67) | func New(ipString interface{}) (*Worker, error) { function newRequest (line 72) | func newRequest() *Request { method Clone (line 80) | func (worker *Worker) Clone() *Worker { method Go (line 87) | func (worker *Worker) Go() (body []byte, e error) { method GoByMethod (line 114) | func (worker *Worker) GoByMethod(method string) (body []byte, e error) { method ToString (line 120) | func (worker *Worker) ToString() string { method JsonToString (line 129) | func (worker *Worker) JsonToString() (string, error) { method sent (line 141) | func (worker *Worker) sent(method, contentType string, binary bool) (bod... method sentByFile (line 235) | func (worker *Worker) sentByFile(method, contentType string, binary bool... method Get (line 370) | func (worker *Worker) Get() (body []byte, e error) { method Delete (line 375) | func (worker *Worker) Delete() (body []byte, e error) { method Post (line 387) | func (worker *Worker) Post() (body []byte, e error) { method PostJSON (line 391) | func (worker *Worker) PostJSON() (body []byte, e error) { method PostXML (line 395) | func (worker *Worker) PostXML() (body []byte, e error) { method PostFILE (line 399) | func (worker *Worker) PostFILE() (body []byte, e error) { function escapeQuotes (line 406) | func escapeQuotes(s string) string { method sentFile (line 410) | func (worker *Worker) sentFile(method string) ([]byte, error) { method Put (line 452) | func (worker *Worker) Put() (body []byte, e error) { method PutJSON (line 456) | func (worker *Worker) PutJSON() (body []byte, e error) { method PutXML (line 460) | func (worker *Worker) PutXML() (body []byte, e error) { method PutFILE (line 464) | func (worker *Worker) PutFILE() (body []byte, e error) { method OtherGo (line 490) | func (worker *Worker) OtherGo(method, contentType string) (body []byte, ... method OtherGoBinary (line 494) | func (worker *Worker) OtherGoBinary(method, contentType string) (body []... method OtherDownload (line 498) | func (worker *Worker) OtherDownload(method, contentType string, filePath... FILE: util/crypto.go function ComputeHmac256 (line 16) | func ComputeHmac256(message string, secret string) string { function StrToMd5 (line 24) | func StrToMd5(s string) string { function Md5 (line 31) | func Md5(str string) string { function Base64E (line 35) | func Base64E(body string) string { function Base64D (line 41) | func Base64D(body string) string { function UrlE (line 51) | func UrlE(s string) string { function UrlD (line 55) | func UrlD(s string) string { function Md5FS (line 64) | func Md5FS(src io.Reader) string { FILE: util/file.go function CurDir (line 13) | func CurDir() string { function GetBinaryCurrentPath (line 18) | func GetBinaryCurrentPath() (string, error) { function GetCurrentPath (line 45) | func GetCurrentPath() (string, error) { function SaveToFile (line 49) | func SaveToFile(filePath string, content []byte) error { function ReadFromFile (line 54) | func ReadFromFile(filepath string) ([]byte, error) { function GetFilenameInfo (line 58) | func GetFilenameInfo(filepath string) (os.FileInfo, error) { function Rename (line 63) | func Rename(oldFilename string, newFilename string) error { function MakeDir (line 67) | func MakeDir(fileDir string) error { function MakeDirByFile (line 71) | func MakeDirByFile(filepath string) error { function FileExist (line 80) | func FileExist(filename string) bool { function WalkDir (line 92) | func WalkDir(dirPth, suffix string) (files []string, err error) { function ListDir (line 107) | func ListDir(dirPth string, suffix string) (files []string, err error) { function ListDirOnlyName (line 129) | func ListDirOnlyName(dirPth string, suffix string) (files []string, err ... function HasFile (line 151) | func HasFile(s string) bool { function CopyFF (line 160) | func CopyFF(src io.Reader, dst io.Writer) error { function CopyFS (line 165) | func CopyFS(src io.Reader, dst string) error { function IsFile (line 175) | func IsFile(filepath string) bool { function IsDir (line 188) | func IsDir(filepath string) bool { function SizeofDir (line 201) | func SizeofDir(dirPth string) int { function GetFileSuffix (line 210) | func GetFileSuffix(f string) string { function ValidFileName (line 219) | func ValidFileName(filename string) string { function ValidBackFileName (line 236) | func ValidBackFileName(filename string) string { FILE: util/io.go function Input (line 8) | func Input(say, defaults string) string { FILE: util/json.go function JsonBack (line 7) | func JsonBack(s []byte) ([]byte, error) { FILE: util/time.go function Sleep (line 7) | func Sleep(waitTime int) { function Second (line 11) | func Second(times int) time.Duration { function TodayString (line 15) | func TodayString(level int) string { FILE: util/util.go function SI (line 9) | func SI(s string) (i int, e error) { function IS (line 14) | func IS(i int) string { function ToLower (line 18) | func ToLower(s string) string { function DivideStringList (line 22) | func DivideStringList(files []string, num int) (map[int][]string, error) { function InArray (line 46) | func InArray(sa []string, a string) bool { function Substr (line 55) | func Substr(str string, start, length int) string {