Documentation
¶
Overview ¶
Package diagnostics provides opt-in, command-scoped progress on stderr. Callers must supply only public operational metadata, never credentials, command arguments, environments, request bodies, or unfiltered errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Printf ¶
Printf writes one diagnostic line when its minimum level is enabled. Formats and arguments must be explicitly selected non-secret metadata.
Types ¶
type Transport ¶
type Transport struct{ Base http.RoundTripper }
Transport reports request methods, destination origins and response status. URL paths, queries, userinfo, headers, bodies and error strings are omitted: even a failed transport error can contain an entire credential-bearing URL.
func (Transport) CloseIdleConnections ¶
func (t Transport) CloseIdleConnections()
CloseIdleConnections preserves http.Client's transport cleanup contract.