Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Middlewares = defaultMiddlewares()
Middlewares store registered middlewares.
Functions ¶
func Context ¶
func Context() iris.Handler
Context is a middleware that injects common prefix fields to gin.Context.
func NoCache ¶
func NoCache(c iris.Context)
NoCache is a middleware function that appends headers to prevent the client from caching the HTTP response.
func Options ¶
func Options(c iris.Context)
Options is a middleware function that appends headers for options requests and aborts then exits the middleware chain and ends the request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.