Versions in this module Expand all Collapse all v0 v0.0.13 Dec 19, 2025 v0.0.12 Jul 16, 2025 Changes in this version type Req + Query map[string]string v0.0.11 Jul 16, 2025 v0.0.10 Jul 16, 2025 Changes in this version + const EncodeJSON + const EncodeWWWForm + const EncodeYAML + var ErrDoubleQuotes = errors.New("unquoted double quote") + var ErrSingleQuotes = errors.New("unquoted single quote") + var ErrUnknown = errors.New("pcurl:GetArgsToken:unknown error") + var ErrUnknownEncode = errors.New("Unknown encoder") + func GetArgsToken(curlString string) (curl []string, err error) + func ParseAndJSON(curl string) (jsonBytes []byte, err error) + func ParseAndRequest(curl string) (*http.Request, error) + type Curl struct + Compressed bool + Data string + DataRaw string + DataUrlencode []string + Err error + Form []string + Get bool + Header []string + Include bool + Insecure bool + Location bool + Method string + URL string + URL2 string + func ParseSlice(curl []string) *Curl + func ParseString(curl string) *Curl + func (c *Curl) Request() (req *http.Request, err error) + func (c *Curl) SetClopAndRequest(clop2 *clop.Clop) (*http.Request, error) + type Encode struct + Body string + type Req struct + Body any + Encode Encode + Header []string + Method string + URL string + func ParseAndObj(curl string) (r *Req, err error) + type Sign int + const DoubleQuotes + const SingleQuotes + const Unused + const WordEnd