webservice/session/pkg.go

21 lines
282 B
Go

package session
import (
// Standard
"time"
)
type T struct {
UUID string
Created time.Time
LastUsed time.Time `db:"last_used"`
Authenticated bool
MFA any
UserID int `db:"user_id"`
Username string
Name string
ApplicationData any
}