Files
mtusi2026lab4/internal/application/commands.go
T
2026-10-28 12:40:39 +03:00

28 lines
452 B
Go

package application
type CreateUserCommand struct {
Username string
DisplayName string
Password string
}
type CreateSessionCommand struct {
Username string
Password string
}
type CreateChatCommand struct {
ActorID string
Title string
MemberIDs []string
}
type SendMessageCommand struct {
ActorID string
ChatID string
Text string
Method string
CanonicalPath string
IdempotencyKey string
}