mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
also reference the correct file:line on <autogenerated> (by searching for the file,line of method inside the embedded fields themselves, as go automatically generates the methods foreach struct for their embedded fields) fix UseGlobal may override the overlap feature
Builtin Handlers
Community made
Most of the experimental handlers are ported to work with iris's handler form, from third-party sources.
Third-Party Handlers
Iris has its own middleware form of func(ctx iris.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 |
| permissions2 | Cookies, users and permissions. Example |
| 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 |
| RestGate | Secure authentication for REST API endpoints |
| stats | Store information about your web application (response time, etc.) |
| VanGoH | Configurable AWS-Style HMAC authentication middleware |
| digits | Middleware that handles Twitter Digits authentication |
Feel free to put up your own middleware in this list!