feat: add bounded observability and verified SLO incident alerts

This commit is contained in:
Vladislav Agapov
2026-10-29 18:01:11 +03:00
parent 470d9d6f1e
commit 6c7601802d
325 changed files with 24988 additions and 44 deletions
+13
View File
@@ -0,0 +1,13 @@
package dto
import "time"
// SessionDTO is an issued session, exposing the raw token only at creation.
type SessionDTO struct {
// Token contains 256 random bits encoded for a Bearer header.
Token string
// ExpiresAt is an absolute UTC deadline which is not extended by reads.
ExpiresAt time.Time
// User is the authenticated account without credentials.
User UserDTO
}