1
0
mirror of https://github.com/kataras/iris.git synced 2026-07-31 16:39:52 +00:00

add two new examples and share the app's specific logger instance with sessions databases and APIBuilder

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-16 07:07:36 +03:00
parent ef7d365e81
commit 889b7942d3
23 changed files with 346 additions and 89 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func (p *provider) newSession(man *Sessions, sid string, expires time.Duration)
lifetime.Begin(expires, onExpire)
}
sess.Lifetime = lifetime
sess.Lifetime = &lifetime
return sess
}