//
pkg.gl
Category
github.com/google/martian/v3
method
package
3.3.3
Repository:
https://github.com/google/martian.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
9
Dependents
6
Files
149 SLOC
#
Functions
NewFilter
NewFilter constructs a filter that applies the modifer when the request method matches meth.
NewMatcher
NewMatcher builds a new method matcher.
NewVerifier
NewVerifier returns a new method verifier.
#
Structs
Filter
Filter runs modifier iff the request method matches the specified method.
Matcher
Matcher is a conditional evaluator of request methods to be used in filters that take conditionals.