Documentation ¶
Index ¶
- Constants
- Variables
- func Do(client *http.Client, ctx context.Context, requestInput []byte, out io.Writer) (err error)
- func GetSubscriptionInput(input []byte) (url, header, body []byte)
- func IsInputFlagSet(input []byte, flagName string) bool
- func SetInputBody(input, body []byte) []byte
- func SetInputBodyWithPath(input, body []byte, path string) []byte
- func SetInputFlag(input []byte, flagName string) []byte
- func SetInputHeader(input, headers []byte) []byte
- func SetInputHost(input, host []byte) []byte
- func SetInputMethod(input, method []byte) []byte
- func SetInputPath(input, path []byte) []byte
- func SetInputQueryParams(input, queryParams []byte) []byte
- func SetInputScheme(input, scheme []byte) []byte
- func SetInputURL(input, url []byte) []byte
- func SetInputURLEncodeBody(input []byte, urlEncodeBody bool) []byte
- func SetUndefinedVariables(data []byte, undefinedVariables []string) []byte
- func UndefinedVariables(data []byte) []string
Constants ¶
View Source
const ( PATH = "path" URL = "url" URLENCODEBODY = "url_encode_body" BASEURL = "base_url" METHOD = "method" BODY = "body" HEADER = "header" QUERYPARAMS = "query_params" USESSE = "use_sse" SSEMETHODPOST = "sse_method_post" SCHEME = "scheme" HOST = "host" UNNULLVARIABLES = "unnull_variables" UNDEFINED_VARIABLES = "undefined" )
View Source
const ( ContentEncodingHeader = "Content-Encoding" AcceptEncodingHeader = "Accept-Encoding" )
Variables ¶
Functions ¶
func GetSubscriptionInput ¶
func IsInputFlagSet ¶ added in v1.60.3
func SetInputBody ¶
func SetInputBodyWithPath ¶
func SetInputFlag ¶ added in v1.55.0
func SetInputHeader ¶
func SetInputHost ¶
func SetInputMethod ¶
func SetInputPath ¶
func SetInputQueryParams ¶
func SetInputScheme ¶
func SetInputURL ¶
func SetInputURLEncodeBody ¶
func SetUndefinedVariables ¶ added in v1.63.0
func UndefinedVariables ¶ added in v1.63.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.