Paul 6 anni fa
parent
commit
ff70c4e199
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 1
    5
      middleware/auth/session_debug.go

+ 1
- 5
middleware/auth/session_debug.go Vedi File

@@ -1,16 +1,12 @@
1 1
 package auth
2 2
 
3
-import (
4
-	"time"
5
-)
6
-
7 3
 type DebugSessionStore struct{}
8 4
 
9 5
 func NewDebugSessionStore() *DebugSessionStore {
10 6
 	return &DebugSessionStore{}
11 7
 }
12 8
 
13
-func (*DebugSessionStore) StoreJwtToken(key string, value string, timeout time.Duration) error {
9
+func (*DebugSessionStore) StoreJwtToken(key string, value string, timeout int64) error {
14 10
 	return nil
15 11
 }
16 12