Реализовать lab3 в общем Helm-релизе с Traefik, TLS и HPA
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user