captain

module
v0.0.0-...-b0a73f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: Apache-2.0

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

Path Synopsis
bmc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL