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 SetInputBody(input, body []byte) []byte
- func SetInputBodyWithPath(input, body []byte, path 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
Constants ¶
View Source
const ( PATH = "path" URL = "url" URLENCODEBODY = "url_encode_body" BASEURL = "base_url" METHOD = "method" BODY = "body" HEADER = "header" QUERYPARAMS = "query_params" SCHEME = "scheme" HOST = "host" )
View Source
const ( ContentEncodingHeader = "Content-Encoding" AcceptEncodingHeader = "Accept-Encoding" )
Variables ¶
Functions ¶
func GetSubscriptionInput ¶
func SetInputBody ¶
func SetInputBodyWithPath ¶
func SetInputHeader ¶
func SetInputHost ¶
func SetInputMethod ¶
func SetInputPath ¶
func SetInputQueryParams ¶
func SetInputScheme ¶
func SetInputURL ¶
func SetInputURLEncodeBody ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.