mirror of
https://github.com/kataras/iris.git
synced 2026-01-04 10:47:20 +00:00
add authenticated-controller example - proof of concept
Former-commit-id: 7a15da2bd966f2a699337cd494af8b5d1877b11d
This commit is contained in:
@@ -7,6 +7,10 @@ import (
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
func init() {
|
||||
context.SetHandlerName("iris/sessions.*Handler", "iris.session")
|
||||
}
|
||||
|
||||
// A Sessions manager should be responsible to Start a sesion, based
|
||||
// on a Context, which should return
|
||||
// a compatible Session interface, type. If the external session manager
|
||||
|
||||
Reference in New Issue
Block a user