Initial commit

This commit is contained in:
2026-06-03 01:52:56 +02:00
commit 190134af7b
17 changed files with 772 additions and 0 deletions

11
models/loginmodels.go Normal file
View File

@@ -0,0 +1,11 @@
package models
type RefreshToken struct {
ID string `json:"id"`
UserID string `json:"user_id"`
Token string `json:"token"`
ExpiresAt int64 `json:"expires_at"`
CreatedAt int64 `json:"created_at"`
Revoked bool `json:"revoked"`
DeviceInfo string `json:"device_info"`
}