feat(auth): add session login, logout and bearer middleware

This commit is contained in:
kk10
2026-10-05 11:54:36 +03:00
parent b94e7813ee
commit a8525778a3
10 changed files with 268 additions and 37 deletions
+9
View File
@@ -0,0 +1,9 @@
package model
import "time"
type Session struct {
Token string
ExpiresAt time.Time
User User
}