Fixed a litte comment explanation

This commit is contained in:
claudemiro
2015-02-01 23:03:55 -03:00
parent 846231f5f3
commit 03607062aa
+1 -1
View File
@@ -31,7 +31,7 @@ import (
// //
// Since anyone could in principle send WebHooks to your application, its important to verify that these WebHooks originated from Pusher. Valid WebHooks will therefore contain these headers which contain a HMAC signature of the WebHook payload (body): // Since anyone could in principle send WebHooks to your application, its important to verify that these WebHooks originated from Pusher. Valid WebHooks will therefore contain these headers which contain a HMAC signature of the WebHook payload (body):
// //
// X-Pusher-Key: A Pusher app may have multiple tokens. The oldest active token will be used, identified by this key. // X-Pusher-Key: The App Key.
// X-Pusher-Signature: A HMAC SHA256 hex digest formed by signing the POST payload (body) with the tokens secret. // X-Pusher-Signature: A HMAC SHA256 hex digest formed by signing the POST payload (body) with the tokens secret.
type webHook struct { type webHook struct {
TimeMs int64 `json:"time_ms"` TimeMs int64 `json:"time_ms"`