Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶ added in v0.6.0
NewClient creates an *http.Client that clones http.DefaultTransport settings and applies the given TLS configuration. This avoids duplicating transport setup across provider, auth, and crypto packages.
func PreviewBodyForError ¶ added in v0.7.0
PreviewBodyForError returns a short, single-line representation of body for use in error messages. Long bodies are truncated with a total byte count.
func SanitizeRequestURL ¶ added in v0.7.0
SanitizeRequestURL strips query and fragment from a URL string so secrets in query parameters are less likely to appear in error messages. If parsing fails, the string is truncated to a safe length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.