ad group logic except somes
This commit is contained in:
+9
-9
@@ -13,17 +13,17 @@ type Client struct {
|
||||
CreatedAt time.Time
|
||||
WsConn *websocket.Conn
|
||||
Id uint32
|
||||
Groups [MaxGroupsForClient]uint32
|
||||
Groups map[uint32]struct{}
|
||||
Color [3]uint8
|
||||
}
|
||||
|
||||
type Group struct {
|
||||
Name string
|
||||
CreatedAt time.Time
|
||||
Id uint32
|
||||
CreatorId uint32
|
||||
OwnerId uint32
|
||||
Clients [MaxClientsInGroup]uint32
|
||||
Color [3]uint8
|
||||
EnableUserColors bool
|
||||
Name string
|
||||
CreatedAt time.Time
|
||||
Id uint32
|
||||
CreatorId uint32
|
||||
OwnerId uint32
|
||||
Clients map[uint32]struct{}
|
||||
Color [3]uint8
|
||||
EnableClientColors bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user