Documentation ¶
Index ¶
- Constants
- func Default(config *tls.Config) http.RoundTripper
- func DefaultWithTransport(transport *http.Transport, config *tls.Config) http.RoundTripper
- func WrapForBackendAuth(parentTransport http.RoundTripper) http.RoundTripper
- func WrapForDebug(parentTransport http.RoundTripper) http.RoundTripper
- func WrapForMapping(mapper kedge_map.Mapper, parentTransport http.RoundTripper) http.RoundTripper
- func WrapForProxyAuth(parentTransport http.RoundTripper) http.RoundTripper
- func WrapForRequestID(prefix string, parentTransport http.RoundTripper) http.RoundTripper
- func WrapForRouting(parentTransport http.RoundTripper) http.RoundTripper
Constants ¶
View Source
const (
ProxyAuthHeader = "Proxy-Authorization"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultWithTransport ¶
func WrapForBackendAuth ¶
func WrapForBackendAuth(parentTransport http.RoundTripper) http.RoundTripper
func WrapForDebug ¶
func WrapForDebug(parentTransport http.RoundTripper) http.RoundTripper
WrapForDebug wraps tripperware with new one that signals kedge to use INFO logs for all DEBUG logs.
func WrapForMapping ¶
func WrapForMapping(mapper kedge_map.Mapper, parentTransport http.RoundTripper) http.RoundTripper
func WrapForProxyAuth ¶
func WrapForProxyAuth(parentTransport http.RoundTripper) http.RoundTripper
func WrapForRequestID ¶
func WrapForRequestID(prefix string, parentTransport http.RoundTripper) http.RoundTripper
WrapForRequestID wraps tripperware with new one that appends unique request ID to "X-Kedge-Request-ID" header allowing better debug tracking.
func WrapForRouting ¶
func WrapForRouting(parentTransport http.RoundTripper) http.RoundTripper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.