add hub event sending
This commit is contained in:
@@ -133,6 +133,12 @@ type WsEventMessage struct {
|
||||
Event any `json:"event"`
|
||||
}
|
||||
|
||||
type WsHubSpecificHubEventMessage struct {
|
||||
Type WsEventType.WsEventType `json:"type"`
|
||||
HubId uuid.UUID `json:"hubId"`
|
||||
Event any `json:"event"`
|
||||
}
|
||||
|
||||
type WsAuthMessage struct {
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error"`
|
||||
|
||||
Reference in New Issue
Block a user