Documentation ¶
Index ¶
Constants ¶
View Source
const ( FUNCTION_NAME = "square-webhook-ingress" PUBLISH_TIMEOUT_SEC = 2 * time.Second )
Variables ¶
View Source
var SQUARE_SIGNATURE_KEY string
View Source
var WEBHOOK_URL string
Functions ¶
func WebhookRouter ¶
func WebhookRouter(w http.ResponseWriter, r *http.Request)
WebhookRouter is the function that routes the incoming request based on
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.