olahol / melody

:notes: Minimalist websocket framework for Go
BSD 2-Clause "Simplified" License
3.76k stars 365 forks source link

Add parameter storage to sessions #11

Closed robbiet480 closed 7 years ago

robbiet480 commented 8 years ago

Thanks to @ReforgedStudios and @huljas for this!

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-2.6%) to 94.545% when pulling 0d8427cd96f596adb113549966c5bc99ac36292f on ReforgedStudios:master into d1854c24f007c55b68192df6974311e9a076303d on olahol:master.

olahol commented 7 years ago

Thank you for this, I changed the interface to look like Gins with Params changed to Keys and adding methods s.Set, s.Get and s.MustGet to *Session.