This commit is contained in:
Vladislav Kunetskiy
2026-10-06 18:01:00 +03:00
parent 51b236a69f
commit dc743548c8
122 changed files with 10682 additions and 2139 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
}