Registry / web-framework / macaron-session

macaron-session

JSON →
library0.0.0-20201130021430-b75a2352013fgogounverified

A middleware that provides session management for the Macaron web framework.

go get gitea.com/macaron/session
INSTALL
IMPORT
SIG · MACARON-SESSION
M
macaron-session
web-frameworkgov0.0.0-20201130021430-b75a2352013f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

session
gitea.com/macaron/session

Sets up session middleware in a Macaron web application.

package main import ( "gitea.com/macaron/macaron" "gitea.com/macaron/session" ) func main() { m := macaron.Classic() m.Use(session.Sessioner()) m.Get("/", func(ctx *macaron.Context) { ctx.Session.Set("key", "value") }) m.Run() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20201130021430-b75a2352013flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
macaron-session — go get macaron-session · libregistry