package
0.4.0
Repository: https://github.com/instill-ai/cli.git
Documentation: pkg.go.dev

# Functions

AddHeader turns a RoundTripper into one that adds a request header.
AddHeaderFunc is an AddHeader that gets the string value from a function.
CacheResponse produces a RoundTripper that caches HTTP responses to disk for a specified amount of time.
No description provided by the author
No description provided by the author
NewClient initializes a Client.
NewClientFromHTTP takes in an http.Client instance.
NewHTTPClient initializes an http.Client.
ReplaceTripper substitutes the underlying RoundTripper with a custom one.
VerboseLog enables request/response logging within a RoundTripper.

# Structs

Client facilitates making HTTP requests to the Instill API.
HTTPError is an error returned by a failed API call.
No description provided by the author

# Type aliases

ClientOption represents an argument to NewClient.