Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContentType ¶
type ContentType int
const ( TypeUnknown ContentType = iota TypeImage TypeJSON TypeNDJSON TypeSSE TypeXML )
type Request ¶
type Request struct {
DNSServer *url.URL
DryRun bool
Edit bool
Format core.Format
HTTP core.HTTPVersion
IgnoreStatus bool
Insecure bool
NoEncode bool
NoPager bool
Output string
PrinterHandle *core.Handle
Redirects *int
TLS uint16
Verbosity core.Verbosity
Method string
URL *url.URL
Body io.Reader
Form []core.KeyVal
Multipart *multipart.Multipart
Headers []core.KeyVal
QueryParams []core.KeyVal
AWSSigv4 *aws.Config
Basic *core.KeyVal
Bearer string
JSON bool
XML bool
Proxy *url.URL
Timeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.