mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
17 lines
257 B
Go
17 lines
257 B
Go
package httpwrapper
|
|
|
|
import (
|
|
"net/http"
|
|
"time"
|
|
|
|
"golang.org/x/oauth2/clientcredentials"
|
|
)
|
|
|
|
type Config struct {
|
|
HttpErrorCheckerFn func(code int) error
|
|
|
|
Timeout time.Duration
|
|
Transport http.RoundTripper
|
|
OAuthConfig *clientcredentials.Config
|
|
}
|