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 TypeXML )
type Request ¶
type Request struct {
DryRun bool
Edit bool
HTTP client.HTTPVersion
Insecure bool
NoEncode bool
NoFormat bool
NoPager bool
Output string
PrinterHandle *printer.Handle
Verbosity Verbosity
Method string
URL string
Body io.Reader
Form []vars.KeyVal
Multipart *multipart.Multipart
Headers []vars.KeyVal
QueryParams []vars.KeyVal
AWSSigv4 *aws.Config
Basic *vars.KeyVal
Bearer string
JSON bool
XML bool
Proxy *url.URL
Timeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.