This commit is contained in:
Vladislav Kunetskiy
2026-10-06 00:22:02 +03:00
parent 51b236a69f
commit bcc2b171ec
120 changed files with 10005 additions and 2138 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
}