directory
Version:
v11.1.0+incompatible
Opens a new window with list of versions in this module.
Published: Nov 18, 2018
License: BSD-3-Clause
Opens a new window with license information.
README
¶
Built'n Handlers
Experimental Handlers
Most of the experimental handlers are ported to work with iris's handler form, from third-party sources.
iris has its own middleware form of func(ctx context.Context)
but it's also compatible with all net/http
middleware forms. See here.
Here's a small list of useful third-party handlers:
Middleware |
Description |
goth |
OAuth, OAuth2 authentication. Example |
binding |
Data binding from HTTP requests into structs |
csp |
Content Security Policy (CSP) support |
delay |
Add delays/latency to endpoints. Useful when testing effects of high latency |
onthefly |
Generate TinySVG, HTML and CSS on the fly |
permissions2 |
Cookies, users and permissions |
RestGate |
Secure authentication for REST API endpoints |
stats |
Store information about your web application (response time, etc.) |
VanGoH |
Configurable AWS-Style HMAC authentication middleware |
xrequestid |
Middleware that assigns a random X-Request-Id header to each request |
digits |
Middleware that handles Twitter Digits authentication |
Feel free to put up your own middleware in this list!
Directories
¶
Package basicauth provides http basic authentication via middleware.
|
Package basicauth provides http basic authentication via middleware. |
Package i18n provides internalization and localization via middleware.
|
Package i18n provides internalization and localization via middleware. |
Package logger provides request logging via middleware.
|
Package logger provides request logging via middleware. |
Package pprof provides native pprof support via middleware.
|
Package pprof provides native pprof support via middleware. |
|
|
Package recover provides recovery for specific routes or for the whole app via middleware.
|
Package recover provides recovery for specific routes or for the whole app via middleware. |
Click to show internal directories.
Click to hide internal directories.