Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages