Documentation ¶
Index ¶
- type Client
- func (c *Client) AppendURLQuery(urlString string, query map[string]string) string
- func (c *Client) ConstructURL(paths ...string) string
- func (c *Client) RequestDataWithHTTPClient(ctx context.Context, method string, url string, ...) error
- func (c *Client) RequestStreamWithHTTPClient(ctx context.Context, method string, url string, ...) (io.ReadCloser, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AppendURLQuery ¶
func (*Client) ConstructURL ¶
func (*Client) RequestDataWithHTTPClient ¶ added in v1.27.0
func (*Client) RequestStreamWithHTTPClient ¶ added in v1.27.0
func (c *Client) RequestStreamWithHTTPClient(ctx context.Context, method string, url string, mutators []request.RequestMutator, requestBody interface{}, inspectors []request.ResponseInspector, httpClient *http.Client) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.