add user feature

This commit is contained in:
2026-05-10 20:40:56 +02:00
parent be373a0915
commit 96cea79976
6 changed files with 39 additions and 10 deletions
+3 -3
View File
@@ -31,14 +31,14 @@ type User struct {
Name string `json:"name"`
Pronouns string `json:"pronouns"`
Description string `json:"description"`
AvatarKey string `json:"avatarType"`
ProfileBgKey string `json:"profileBackgroundType"`
AvatarKey string `json:"avatarKey"`
ProfileBgKey string `json:"profileBackgroundKey"`
PasswordHash string `json:"-"`
CreatedAt time.Time `json:"createdAt"`
WsConn *websocket.Conn `json:"-"`
Id uuid.UUID `json:"-"`
Connections map[uuid.UUID]*Connection `json:"-"`
Hubs map[uuid.UUID]*Hub `json:"hubs-to-delete"`
Hubs map[uuid.UUID]*Hub `json:"hubs"`
ChannelUnreadMessage map[uuid.UUID]uint8 `json:"-"`
Color Rgba `json:"color"`
}