Skip to content

rubenv/webhooksite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webhooksite

Go library for webhook.site

Build Status GoDoc

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!

Usage

// 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)

License

This library is distributed under the MIT license.

About

Go library for webhook.site

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages