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 {
AWSSigv4 *aws.Config
Basic *core.KeyVal
Bearer string
Data io.Reader
DNSServer *url.URL
DryRun bool
Edit bool
Form []core.KeyVal
Format core.Format
Headers []core.KeyVal
HTTP core.HTTPVersion
IgnoreStatus bool
Image core.ImageSetting
Insecure bool
JSON io.Reader
NoEncode bool
NoPager bool
Method string
Multipart *multipart.Multipart
Output string
OutputDir bool
PrinterHandle *core.Handle
Proxy *url.URL
QueryParams []core.KeyVal
Range []string
Redirects *int
Timeout time.Duration
TLS uint16
UnixSocket string
URL *url.URL
Verbosity core.Verbosity
XML io.Reader
}
Click to show internal directories.
Click to hide internal directories.