roundtripper

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(log *logger.Logger, appCfg config.Config, adminRoundTripper, unauthorizedRT http.RoundTripper) http.RoundTripper

func NewUnauthorizedRoundTripper

func NewUnauthorizedRoundTripper() http.RoundTripper

NewUnauthorizedRoundTripper returns a RoundTripper that always returns 401 Unauthorized

Types

type TokenKey

type TokenKey struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL