contrib
contrib copied to clipboard
Collection of middlewares created by the community
If i customize the options, like this ``` session := sessions.Default(c) session.Options(sessions.Options{MaxAge: 60}) ``` the cookie is lost ``` session := sessions.Default(c) val := session.Get("user") if val == nil ?...
Hi there, I wrote a middleware to authenticate JWT tokens issued by AWS Cognito. Please do not hesitate to contact me if you need more details. Kind regards, Ayache
click the link will get 404. should be matained
fixed: pongo2 template - request
### Examples **Create handlers** ```go func bookHandlers() rest.ResourceHandlers { return rest.ResourceHandlers{ "Index": controllers.FindBooks, "Create": controllers.CreateBook, "Show": controllers.FindBook, "Update": controllers.UpdateBook, "Delete": controllers.DeleteBook, } } ``` **Initialize resource routes** ```go func SetupRouter(r...
More info is here: https://github.com/flosch/pongo2/issues/290
Closes #214
Adding gin-brotli middleware's reference link in README.md
Some extreme cases require the use of gnet
added samesite option as github.com/gorilla/sessions now support it