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