alexedwards / scs

HTTP Session Management for Go
MIT License
2.05k stars 165 forks source link

Add support to external web frameworks #132

Closed gandaldf closed 2 years ago

gandaldf commented 2 years ago

I would like to propose three packages inspired by those of the stores. I chose "adapter" as a suffix because it is a synonym for "middleware" but shorter and easily pluralizable. They just redefine small parts of the base functionality like the LoadAndSave middleware or the writeSessionCookie function. I think they can be useful to all of those who don't use the stdlib router without breaking the philosophy of the project.

alexedwards commented 2 years ago

@gandaldf Any change you could break the rqlite change into a separate PR? I can then merge that straight away. It'll take me a while to review the Gin/Fiber/Echo changes.

git001 commented 2 years ago

@gandaldf please also use a separate pr for the gin adapter :smile: , thanks.

gandaldf commented 2 years ago

I’ll close this PR and I’ll open new ones, this time one for each feature.