30 lines
391 B
Go
30 lines
391 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type Health struct {
|
|
Status string
|
|
}
|
|
|
|
type User struct {
|
|
ID string
|
|
Username string
|
|
DisplayName string
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type Chat struct {
|
|
ID string
|
|
Title string
|
|
MemberIDs []string
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type Message struct {
|
|
ID string
|
|
ChatID string
|
|
SenderID string
|
|
Text string
|
|
CreatedAt time.Time
|
|
}
|