Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AggressiveTransport = &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: (&net.Dialer{ Timeout: 1 * time.Second, KeepAlive: 90 * time.Second, }).DialContext, TLSHandshakeTimeout: 3 * time.Second, MaxIdleConns: 100, MaxIdleConnsPerHost: 8, IdleConnTimeout: 90 * time.Second, }
Functions ¶
func NewServiceClient ¶
func NewServiceClient(serviceURL string) *serviceClient
func NewServiceClientWithOpts ¶
func NewServiceClientWithOpts(serviceURL string, opts ServiceClientOpts) *serviceClient
Types ¶
type NoopScrubber ¶
type NoopScrubber struct{}
func (*NoopScrubber) Scrub ¶
func (s *NoopScrubber) Scrub(str string) string
type Scrubber ¶
A Scrubber will process a string and remove PII making it safe for logging and metrics.
type ServiceClient ¶
Click to show internal directories.
Click to hide internal directories.