Help us shape the future of Go! Take the 2026 Go Developer Survey

trustedproxy

package
v0.17.28 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsForwardingHeader

func IsForwardingHeader(name string) bool

func RemoveForwardingHeaders

func RemoveForwardingHeaders(remove func(string))

Types

type Matcher

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

func NewMatcher

func NewMatcher(logger zerolog.Logger, proxies ...string) *Matcher

func (*Matcher) Contains

func (m *Matcher) Contains(ip net.IP) bool

Jump to

Keyboard shortcuts

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