| 495 | type NewTLSConfigFunc func(context.Context, *TLSConfig, ...TLSConfigOption) (*tls.Config, error) |
| 496 | |
| 497 | type httpClientOptions struct { |
| 498 | dialContextFunc DialContextFunc |
| 499 | newTLSConfigFunc NewTLSConfigFunc |
| 500 | keepAlivesEnabled bool |
| 501 | http2Enabled bool |
| 502 | idleConnTimeout time.Duration |
| 503 | userAgent string |
| 504 | host string |
| 505 | secretManager SecretManager |
| 506 | } |
| 507 | |
| 508 | // HTTPClientOption defines an option that can be applied to the HTTP client. |
| 509 | type HTTPClientOption interface { |
nothing calls this directly
no outgoing calls
no test coverage detected