proxy

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OauthProtectedResourceEndpoint = "/.well-known/oauth-protected-resource"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyRouter

type ProxyRouter struct {
	// contains filtered or unexported fields
}

func NewProxyRouter

func NewProxyRouter(
	externalURL string,
	proxy http.Handler,
	publicKey *rsa.PublicKey,
	proxyHeaders http.Header,
) (*ProxyRouter, error)

func (*ProxyRouter) SetupRoutes

func (p *ProxyRouter) SetupRoutes(router gin.IRouter)

Jump to

Keyboard shortcuts

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