@@ -1,10 +1,8 @@
package auth
-import "time"
-
type Session interface {
// StoreJwtToken store jwt token is redis, make it expired for feature
- StoreJwtToken(key string, value string, timeout time.Duration) error
+ StoreJwtToken(key string, value string, timeout int64) error
// IsExistsJwtToken judge whether token is invalid
IsExistsJwtToken(key string) bool