Browse Source

add server field to signal struct

Abhishek Kondur 2 years ago
parent
commit
aaa2211939
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/host.go

+ 1 - 0
models/host.go

@@ -136,6 +136,7 @@ type HostTurnRegister struct {
 
 // Signal - struct for signalling peer
 type Signal struct {
+	Server            string `json:"server"`
 	FromHostPubKey    string `json:"from_host_pubkey"`
 	TurnRelayEndpoint string `json:"turn_relay_addr"`
 	ToHostPubKey      string `json:"to_host_pubkey"`