forked from mtusi2026/mtusi2026lab3
28 lines
452 B
Go
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
|
|
}
|