working file sharing

This commit is contained in:
2026-04-16 20:38:16 +02:00
parent f0fdaedd8c
commit 84e3f852fe
14 changed files with 190 additions and 81 deletions
+7 -7
View File
@@ -82,12 +82,12 @@ type ConnectionElevationData struct {
}
type Message struct {
Id uuid.UUID `json:"id"`
AttachedMedia string `json:"attachedMedia"`
Content string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
Sender uuid.UUID `json:"sender"`
Receiver uuid.UUID `json:"receiver"`
Id uuid.UUID `json:"id"`
AttachedFile string `json:"attachedFile"`
Content string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
Sender uuid.UUID `json:"sender"`
Receiver uuid.UUID `json:"receiver"`
}
type LoginReturn struct {
@@ -96,7 +96,7 @@ type LoginReturn struct {
}
type WsEventMessage struct {
Type WsEventType.WsEventType `json:"types"`
Type WsEventType.WsEventType `json:"type"`
Event any `json:"event"`
}