Explorar el Código

add timestamp to turn signal

Abhishek Kondur hace 2 años
padre
commit
795e66dec4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      models/host.go

+ 1 - 0
models/host.go

@@ -142,6 +142,7 @@ type Signal struct {
 	ToHostPubKey      string       `json:"to_host_pubkey"`
 	Reply             bool         `json:"reply"`
 	Action            SignalAction `json:"action"`
+	TimeStamp         int64        `json:"timestamp"`
 }
 
 // RegisterMsg - login message struct for hosts to join via SSO login