package
1.3.2
Repository: https://github.com/leanovate/microtools.git
Documentation: pkg.go.dev

# Functions

DELETE creates a matcher that matches HTTP DELETE.
DELETEFunc create a matcher that delegates to a function on HTTP DELETE.
No description provided by the author
No description provided by the author
GET creates a matcher that matches HTTP GET.
GETFunc create a matcher that delegates to a function on HTTP GET.
No description provided by the author
Method create a matcher that matches a specific HTTP method.
MethodNotAllowed creates a matcher that matches everything and always replies with a 405.
NewLoggingHandler create a new LoggingHandler.
NewRouteHandler creates a RouteHandler for a sequence of Matcher.
PATCH creates a matcher that matches HTTP PATCH.
PATCHFunc create a matcher that delegates to a function on HTTP PATCH.
POST
POST creates a matcher that matches HTTP POST.
POSTFunc create a matcher that delegates to a function on HTTP POST.
No description provided by the author
No description provided by the author
PUT creates a matcher that matches HTTP PUT.
PUTFunc create a matcher that delegates to a function on HTTP PUT.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

LoggingHandler is a http.Handler that logs and delegates all requests.
RouteHandler is a http.Handler delegating the request to a Matcher.

# Type aliases

Matcher matches a HTTP request.