Files
mtusi2026lab3/internal/application/commands.go
T
2026-10-21 13:51:35 +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
}