add helper functions to http, add group handlers, add json group
This commit is contained in:
+7
-7
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user