Реализовать lab3 в общем Helm-релизе с Traefik, TLS и HPA

This commit is contained in:
Vladislav Agapov
2026-10-16 11:51:20 +03:00
parent a57cbcf329
commit 9494547300
88 changed files with 1922 additions and 255 deletions
+4
View File
@@ -33,6 +33,8 @@ type ChatDTO struct {
// MessageDTO is an immutable message stored in a chat.
type MessageDTO struct {
// IdempotencyKey identifies a validated retry within the sender and chat scope.
IdempotencyKey string
// ID is the server-generated message identifier.
ID uuid.UUID
// ChatID identifies the owning chat.
@@ -65,6 +67,8 @@ type ChatsCreateRequestDTO struct {
// MessagesCreateRequestDTO carries untrusted message creation input.
type MessagesCreateRequestDTO struct {
// IdempotencyKey identifies a validated retry within the sender and chat scope.
IdempotencyKey string
// UserID is the authenticated caller identifier, never a supplied sender field.
UserID string
// ChatID is the raw chat UUID from the route.