mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
14 lines
236 B
Go
14 lines
236 B
Go
package metrics
|
|
|
|
import (
|
|
"net/http"
|
|
"time"
|
|
)
|
|
|
|
func NewHTTPClient(connectorName string, timeout time.Duration) *http.Client {
|
|
return &http.Client{
|
|
Timeout: timeout,
|
|
Transport: NewTransport(connectorName, TransportOpts{}),
|
|
}
|
|
}
|