Documentation ¶ Index ¶ func Sign(payloadBody []byte, secretToken []byte) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Sign ¶ func Sign(payloadBody []byte, secretToken []byte) string Sign is using the data and the secret to compute a HMAC(SHA256) to sign the body of the request. so the webhook can use this signature to verify that no data have been compromised. Types ¶ This section is empty. Source Files ¶ View all Source files signer.go Click to show internal directories. Click to hide internal directories.