Browse Source

added Ping

Tobias von Dewitz 4 years ago
parent
commit
9f1ffadc5b
1 changed files with 7 additions and 0 deletions
  1. 7 0
      ping.go

+ 7 - 0
ping.go

@@ -0,0 +1,7 @@
+package data
+
+// Ping is used as a primitive way to validate that a browser has JS
+type Ping struct {
+	Timestamp uint32
+	Checksum  string
+}