so much work to do :c

This commit is contained in:
gitGnome
2026-04-05 22:38:02 +02:00
parent 7f54cc7a40
commit 9b57157769
6 changed files with 41 additions and 58 deletions
+12 -5
View File
@@ -19,11 +19,18 @@ type User struct {
}
type Connection struct {
CreatedAt time.Time `json:"createdAt"`
Id uint32 `json:"id"`
RequestorId uint32 `json:"requestorId"`
RecipientId uint32 `json:"recipientId"`
MessagesBuf
CreatedAt time.Time `json:"createdAt"`
MessagesBuf [MaxDirectMsgCache]*Message `json:"-"`
Id uint32 `json:"id"`
RequestorId uint32 `json:"requestorId"`
RecipientId uint32 `json:"recipientId"`
State uint8 `json:"state"`
}
type Message struct {
Content string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
Sender uint32 `json:"sender"`
}
type Group struct {