mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-25 05:08:00 +00:00
Verify X-Hub-Signature-256 (and SHA-1) webhook signatures. Middleware buffers and re-exposes the body for downstream handlers. Errors honor Accept header: TSV default (text/plain for browsers), JSON, CSV, or Markdown — three fields (error, description, hint) with pseudocode hints.
4 lines
63 B
Modula-2
4 lines
63 B
Modula-2
module github.com/therootcompany/golib/auth/xhubsig
|
|
|
|
go 1.26.0
|