middleware

package
v0.0.91 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeaders

func GetHeaders(ctx context.Context) map[string]string

Types

type ProxyHeaders

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

func NewProxyHeaders

func NewProxyHeaders(h http.Handler, headers []string) *ProxyHeaders

func (*ProxyHeaders) ServeHTTP

func (p *ProxyHeaders) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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