mirror of
https://gitlab.com/comunic/ComunicRTCProxy
synced 2025-07-06 18:12:53 +00:00
Fix the way WsMessage are encoded
This commit is contained in:
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 `json:"title"`
|
||||||
CallHash string
|
CallHash string `json:"callHash"`
|
||||||
PeerID string
|
PeerID string `json:"peerId"`
|
||||||
Data interface{}
|
Data interface{} `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var outMsgChan = make(chan interface{})
|
var outMsgChan = make(chan interface{})
|
||||||
|
Reference in New Issue
Block a user