Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command represents an invocation of the curl executable. For example: >Curl -X POST https://127.0.0.1/test
Becomes: CurlCommand{ options: [ curlOption{flag: "-X", value: "POST"} ] args: ["https://127.0.0.1/test"] }.
func InitCurlCommand ¶
InitCurlCommand creates a new CurlCommand with the specified configs applied.
Click to show internal directories.
Click to hide internal directories.