inngest / inngestgo

Durable execution in Go with the Golang Inngest SDK. Write durable functions in your existing app.
https://pkg.go.dev/github.com/inngest/inngestgo
Apache License 2.0
29 stars 3 forks source link

Add response signature validation functions #61

Closed amh4r closed 2 months ago

amh4r commented 2 months ago

Description

Add response signature validation functions. They're exactly the same as the request signature validation functions except they don't canonicalize the body.

This change was straightforward except for one curveball: we need to handle the JSON encoder adding a trailing newline.