Browse Source

Add timestamp to notice output

Adam Pritchard 7 years ago
parent
commit
5f7f98cf63
1 changed files with 3 additions and 2 deletions
  1. 3 2
      ClientLibrary/clientlib/clientlib.go

+ 3 - 2
ClientLibrary/clientlib/clientlib.go

@@ -82,8 +82,9 @@ type ClientParametersDelta map[string]interface{}
 // noticeReceiver, if supplied.
 // NOTE: Ordinary users of this library should never need this.
 type NoticeEvent struct {
-	Data map[string]interface{} `json:"data"`
-	Type string                 `json:"noticeType"`
+	Data      map[string]interface{} `json:"data"`
+	Type      string                 `json:"noticeType"`
+	Timestamp string                 `json:"timestamp"`
 }
 
 // ErrTimeout is returned when the tunnel connection attempt fails due to timeout