Documentation ¶
Overview ¶
Package webhook contains the functionality for handling outcoming webhooks.
Index ¶
Constants ¶
View Source
const ( // DefaultTimeoutSeconds is amount of seconds of timeout used by HTTP sender DefaultTimeoutSeconds = 10 // MinHTTPStatusErrorCode is the lowest number of an HTTP response which indicates an error MinHTTPStatusErrorCode = 400 // SignatureHeader is the name of an HTTP header used to which contains signature of a webhook SignatureHeader = "X-Gophish-Signature" // Sha256Prefix is the prefix that specifies the hashing algorithm used for signature Sha256Prefix = "sha256" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.