Paul 6 gadus atpakaļ
vecāks
revīzija
ff70c4e199
1 mainītis faili ar 1 papildinājumiem un 5 dzēšanām
  1. 1
    5
      middleware/auth/session_debug.go

+ 1
- 5
middleware/auth/session_debug.go Parādīt failu

1
 package auth
1
 package auth
2
 
2
 
3
-import (
4
-	"time"
5
-)
6
-
7
 type DebugSessionStore struct{}
3
 type DebugSessionStore struct{}
8
 
4
 
9
 func NewDebugSessionStore() *DebugSessionStore {
5
 func NewDebugSessionStore() *DebugSessionStore {
10
 	return &DebugSessionStore{}
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
 	return nil
10
 	return nil
15
 }
11
 }
16
 
12