add helper functions to http, add group handlers, add json group

This commit is contained in:
gitGnome
2026-04-01 09:40:05 +02:00
parent caab2e22bc
commit 055bc5dcf2
2 changed files with 117 additions and 66 deletions
+7 -7
View File
@@ -29,11 +29,11 @@ type Group struct {
}
type GroupNoMembers struct {
Name string
CreatedAt time.Time
Id uint32
CreatorId uint32
OwnerId uint32
Color [3]uint8
EnableClientsColors bool
Name string `json:"name"`
CreatedAt time.Time `json:"createdAt"`
Id uint32 `json:"id"`
CreatorId uint32 `json:"creatorId"`
OwnerId uint32 `json:"ownerId"`
Color [3]uint8 `json:"color"`
EnableClientsColors bool `json:"enableClientsColors"`
}