Documentation
¶
Overview ¶
CertWatch Webhook Receiver — Example Server
A minimal HTTP server that receives webhook payloads from the CertWatch CLI, verifies HMAC-SHA256 signatures, and pretty-prints the results.
Usage:
go run receiver.go -secret <secret> [-port <port>]
Example:
# Terminal 1 — start the receiver go run examples/receiver.go -secret abc123 -port 3000 # Terminal 2 — send payloads via CLI certwatch-webhook-cli -secret abc123 -url http://localhost:3000/webhook
Zero dependencies — uses only Go standard library.
Click to show internal directories.
Click to hide internal directories.