feat: setup config (viper =)), jwt settings && session struct
This commit is contained in:
1 parent
9bade56794
commit
c3c7e908f0
12 files changed
+202
-5
No files matched your search
Whitespace-only changes.
@@ -0,0 +1 @@
|
||||
package app
|
||||
@@ -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
|
||||
}
|
||||
Whitespace-only changes.
@@ -0,0 +1 @@
|
||||
package usecase
|
||||
Reference in new issue
Block a user