Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter handles header filtering based on configuration
func NewFilter ¶
func NewFilter(config config.HeaderForwardingConfig) *Filter
NewFilter creates a new header filter with the given configuration
func (*Filter) FilterHeaders ¶
FilterHeaders filters a map of headers, returning only those that should be forwarded
func (*Filter) GetAllowedHeaders ¶
GetAllowedHeaders returns the list of allowed headers
func (*Filter) GetBlockedHeaders ¶
GetBlockedHeaders returns the list of blocked headers
func (*Filter) ShouldForward ¶
ShouldForward determines if a header should be forwarded based on configuration
Click to show internal directories.
Click to hide internal directories.