module
Version:
v0.0.0-...-b0a73f8
Opens a new window with list of versions in this module.
Published: Jul 7, 2023
License: Apache-2.0
Opens a new window with license information.
README
¶
captain
Library for securely sending webhooks. Captain supports the following methods and options for sending webhooks. All payloads will be sent as JSON.
- https
- with user specified certificates
- signed (HMAC256, HMAC512)
- customizable signature payload
- http (should only be used for development proposes)
- signed (HMAC256, HMAC512)
- customizable signature payload
Local development
# Run a webhook listener
make run
# POST to https://localhost/webhook
# See TestAddSignature for an example of how to sign a request
Directories
¶
Click to show internal directories.
Click to hide internal directories.