Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserAgentTransport ¶
type UserAgentTransport struct { http.RoundTripper // contains filtered or unexported fields }
UserAgentTransport is an http RoundTripper that sets a descriptive User-Agent header for all StackPath API requests.
func NewUserAgentTransport ¶
func NewUserAgentTransport(parent http.RoundTripper, providerVersion string) *UserAgentTransport
NewUserAgentTransport builds a new UserAgentTransport around the underlying RoundTripper.
Click to show internal directories.
Click to hide internal directories.