Improve messages structure

This commit is contained in:
Pierre HUBERT 2020-04-11 08:34:59 +02:00
parent a4edd9a14a
commit 84169242b7

8
ws.go
View File

@ -15,10 +15,10 @@ import (
// WsMessage is a message from or to the api server
type WsMessage struct {
Title string
CallID string
PeerID string
Data interface{}
Title string
CallHash string
PeerID string
Data interface{}
}
// Open websocket connection