mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 21:45:57 +00:00
add PartyFunc and gofmt -s -w . 🔷
Former-commit-id: a3809498a45140d691f3f235ad9cb25239d495a2
This commit is contained in:
@@ -25,11 +25,11 @@ type (
|
||||
// but without temp values (flash messages) which are removed after fetching.
|
||||
// so introduce a new field here.
|
||||
// NOTE: flashes are not managed by third-party, only inside session struct.
|
||||
flashes map[string]*flashMessage
|
||||
mu sync.RWMutex
|
||||
expireAt *time.Time // nil pointer means no expire date
|
||||
timer *time.Timer
|
||||
provider *provider
|
||||
flashes map[string]*flashMessage
|
||||
mu sync.RWMutex
|
||||
expireAt *time.Time // nil pointer means no expire date
|
||||
timer *time.Timer
|
||||
provider *provider
|
||||
}
|
||||
|
||||
flashMessage struct {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package redis
|
||||
|
||||
import (
|
||||
"time"
|
||||
"bytes"
|
||||
"encoding/gob"
|
||||
"time"
|
||||
|
||||
"github.com/kataras/iris/sessions/sessiondb/redis/service"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user