package
3.3.3
Repository: https://github.com/google/martian.git
Documentation: pkg.go.dev

# Functions

FromJSON parses a Modifier JSON message by looking up the named modifier in parseFuncs and passing its modifier to the registered parseFunc.
NewResult returns a new parse.Result for a given interface{} that implements a modifier and a slice of scopes to generate the result for.
Register registers a parsing function for name that will be used to unmarshal a JSON message into the appropriate modifier.

# Constants

Request modifies an HTTP request.
Response modifies an HTTP response.

# Structs

ErrUnknownModifier is the error returned when the message does not contain a field representing a known modifier type.
Result holds the parsed modifier and its type.

# Type aliases

ModifierType is the HTTP message type.