code refactor, implementing sockets

This commit is contained in:
slawk0
2025-02-11 16:34:59 +01:00
parent bbae0e8fbb
commit 248966d63f
18 changed files with 595 additions and 122 deletions

View File

@@ -30,11 +30,13 @@ type ContactSuggestion struct {
}
type Message struct {
MessageID int `json:"message_id"`
Message string `json:"message"`
SentAt time.Time `json:"sent_at"`
Sender string `json:"sender"`
AttachmentUrl *string `json:"attachment_url"`
ID int `json:"message_id"`
Message string `json:"message"`
SentAt time.Time `json:"sent_at"`
Sender string `json:"sender"`
SenderID uuid.UUID `json:"sender_id"`
AttachmentUrl *string `json:"attachment_url"`
ConversationID uuid.UUID `json:"conversation_id"`
}
type CreateGroupResponse struct {