feat: setup config (viper =)), jwt settings && session struct
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
package usecase
|
||||
Reference in New Issue
Block a user