Categorygithub.com/mango-svip/lambda-router
modulepackage
0.0.4
Repository: https://github.com/mango-svip/lambda-router.git
Documentation: pkg.go.dev

# README

lambda-router

base on httprouter for aws lambda

# Functions

CleanPath is the URL version of path.Clean, it returns a canonical URL path for p, eliminating .
No description provided by the author
New returns a new initialized Router.

# Structs

No description provided by the author
No description provided by the author
Param is a single URL parameter, consisting of a key and a value.
Router is a http.Handler which can be used to dispatch requests to different handler functions via configurable routes.

# Type aliases

Handle is a function that can be registered to a route to handle HTTP requests.
MiddlewareFunc 是中间件函数的类型.
Params is a Param-slice, as returned by the router.