Versions in this module Expand all Collapse all v0 v0.0.1 May 23, 2019 Changes in this version + const ADD_LINE + func ParseBody(Body *[]byte) + func ParseMF(mf string, formCache *[]FormVal) + func ParseTime(t string) (rv time.Duration) + type FormVal struct + Body []byte + Fname string + Tag string + type Gurl struct + func (g *Gurl) Send() (*Response, error) + type GurlCore struct + A string + Body []byte + Color bool + F []string + Flag int + FormCache []FormVal + H []string + J []string + Jfa []string + Method string + NotParseAt map[string]struct{} + O string + Query []string + Url string + V bool + func CopyAndNew(g *GurlCore) *GurlCore + func (g *GurlCore) AddFormStr(F []string) + func (g *GurlCore) AddJsonFormStr(Jfa []string) + func (g *GurlCore) GetOrBodyExec(client *http.Client) (*Response, error) + func (g *GurlCore) HeadersAdd(req *http.Request) + func (g *GurlCore) MultipartExec(client *http.Client) (*Response, error) + func (g *GurlCore) MultipartNew() (*http.Request, chan error, error) + func (g *GurlCore) ParseInit() + func (g *GurlCore) SendExec(client *http.Client) (*Response, error) + type Message struct + In chan string + InDone chan string + K int + Out chan string + OutDone chan string + type Report struct + func NewReport(c, n int, url string) *Report + func (r *Report) AddErrNum() + func (r *Report) Cal(now time.Time, resp *Response) + func (r *Report) SetDuration(t time.Duration) + func (r *Report) StartReport() + func (r *Report) Wait() + type Response struct + Body []byte + Err string + Header http.Header + Proto string + Req *http.Request + Status string + StatusCode int + func ExecSlice(cmd []string) (*Response, error)