mirror of
https://gitlab.com/comunic/ComunicRTCProxy
synced 2024-12-26 05:28:53 +00:00
Improve messages structure
This commit is contained in:
parent
a4edd9a14a
commit
84169242b7
8
ws.go
8
ws.go
@ -15,10 +15,10 @@ import (
|
|||||||
|
|
||||||
// WsMessage is a message from or to the api server
|
// WsMessage is a message from or to the api server
|
||||||
type WsMessage struct {
|
type WsMessage struct {
|
||||||
Title string
|
Title string
|
||||||
CallID string
|
CallHash string
|
||||||
PeerID string
|
PeerID string
|
||||||
Data interface{}
|
Data interface{}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open websocket connection
|
// Open websocket connection
|
||||||
|
Loading…
Reference in New Issue
Block a user