//
pkg.gl
Category
github.com/kubeshark/martian/v3
port
package
3.4.1
Repository:
https://github.com/kubeshark/martian.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
2
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.