mirror of
https://gitlab.com/comunic/ComunicRTCProxy
synced 2024-12-26 05:28:53 +00:00
Fix the way WsMessage are encoded
This commit is contained in:
parent
262476e60b
commit
1b3279046e
8
ws.go
8
ws.go
@ -15,10 +15,10 @@ import (
|
||||
|
||||
// WsMessage is a message from or to the api server
|
||||
type WsMessage struct {
|
||||
Title string
|
||||
CallHash string
|
||||
PeerID string
|
||||
Data interface{}
|
||||
Title string `json:"title"`
|
||||
CallHash string `json:"callHash"`
|
||||
PeerID string `json:"peerId"`
|
||||
Data interface{} `json:"data"`
|
||||
}
|
||||
|
||||
var outMsgChan = make(chan interface{})
|
||||
|
Loading…
Reference in New Issue
Block a user