feat: setup config (viper =)), jwt settings && session struct

This commit is contained in:
2025-09-06 12:58:42 +03:30
parent 9bade56794
commit c3c7e908f0
12 changed files with 202 additions and 5 deletions
View File
+1
View File
@@ -0,0 +1 @@
package app
+10
View File
@@ -16,3 +16,13 @@ type User struct {
UpdatedAt time.Time
DeletedAt *time.Time
}
type UserSession struct {
ID uuid.UUID
UserID uuid.UUID
WalletID uuid.UUID
IPaddress string
Agent string
ExpiresAt time.Time
CreatedAt time.Time
}
View File
+1
View File
@@ -0,0 +1 @@
package usecase