This commit is contained in:
Vladislav Kunetskiy
2026-11-05 21:13:16 +03:00
commit 6e7c322f27
480 changed files with 87593 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package domain
import (
"time"
"github.com/google/uuid"
)
type Session struct {
Token string
ExpiresAt time.Time
User User
}
type NewSession struct {
TokenHash []byte
UserID uuid.UUID
ExpiresAt time.Time
}