webservice/session/pkg.go

21 lines
282 B
Go
Raw Normal View History

2024-01-04 20:19:47 +01:00
package session
import (
// Standard
"time"
)
type T struct {
UUID string
Created time.Time
LastUsed time.Time `db:"last_used"`
Authenticated bool
MFA any
2024-01-04 20:19:47 +01:00
2024-01-05 09:00:09 +01:00
UserID int `db:"user_id"`
2024-01-04 20:19:47 +01:00
Username string
Name string
2024-02-09 13:22:25 +01:00
ApplicationData any
2024-01-04 20:19:47 +01:00
}