Go library for webhook.site
Simple library to test webhook calls, ideal for testing callbacks in a CI server that doesn't accept calls from the outside world.
Features:
- Create tokens, inspect results
- Can be configured to use a self-hosted webhook.site instance
- Zero dependencies!
// Create a client
c := webhooksite.New()
// Fetch a token
token, err := c.CreateToken()
// Do a webhook call
// curl {{ token.URL }}
// Fetch the requests
reqs, err := c.GetRequests(token.UUID)This library is distributed under the MIT license.
