1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 13:05:56 +00:00

Implement "badger" kv store back-end for sessions

Former-commit-id: b9d85467238b5611d177b2b95ac9815cf5f8fe83
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-09-24 14:32:16 +03:00
parent c311e1e664
commit 88b2343bd9
4 changed files with 281 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ func RegisterOnInterrupt(cb func()) {
func notifyInterrupt() {
w.mu.Lock()
for _, f := range w.onInterrupt {
go f()
f()
}
w.mu.Unlock()
}