//
pkg.gl
Category
github.com/google/martian/v3
port
package
3.3.3
Repository:
https://github.com/google/martian.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
8
Dependents
6
Files
250 SLOC
#
Functions
NewFilter
NewFilter returns a filter that executes modifiers if the port of request matches port.
NewModifier
NewModifier returns a RequestModifier that can be configured to alter the request URL and Host header's port.
#
Structs
Filter
Filter runs modifiers iff the port in the request URL matches port.
Modifier
Modifier alters the request URL and Host header to use the provided port.