67e65522
server: setup router dedicated to webhook processing
This introduces a new chi router to allow processing (in Go) webhook calls coming from other SourceHut services. It ensures that incoming messages are signed with the webhook private key and if so, provides access both to the database and service configuration. Signed-off-by: Simon Martin <simon@nasilyan.com>
Simon Martin <simon@nasilyan.com> — 2026-04-08 08:03:26 UTC
Commit 67e655222767f9737a564a5cba19d3c268e9b2ac —
view raw patch
Parent(s):
32f48281
| File | Status | + | − |
|---|---|---|---|
server/server.go
|
M | +80 | -24 |