Versions in this module Expand all Collapse all v0 v0.0.2 Nov 1, 2019 Changes in this version + const ADD_LINE + const DefaultConnections + func CmdErr(err error) + func Main(message core.Message, argv0 string, argv []string) + func ParseBody(Body *[]byte) + type FormVal struct + Body []byte + Fname string + Tag string + type Gurl struct + func (g *Gurl) Send() (*Response, error) + type GurlCmd struct + func (cmd *GurlCmd) Init() + func (cmd *GurlCmd) SubProcess(work chan string) + func (cmd *GurlCmd) WaitAll() + type GurlCore struct + Body []byte + Color bool + Flag int + FormCache []FormVal + FormData []string + Header []string + Jfa []string + Json []string + Method string + NotParseAt map[string]struct{} + Output string + Query []string + Url string + UserAgent string + Verbose bool + func CopyAndNew(g *GurlCore) *GurlCore + func (g *GurlCore) AddFormStr(FormData []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 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