Skip to content

meeko-contrib/go-meeko-webhook-receiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-meeko-webhook-receiver

Build Status Coverage Status

go-meeko helper for implementing webhook collectors.

This package takes care of some boilerplate code while implementing webhook collectors for Meeko. All that is necessary is to pass a http.Handler into ListenAndServe and the rest will be taken care of.

Usage

import "github.com/meeko-contrib/go-meeko-webhook-receiver/receiver"

Agent Configuration

There are two variables that must be defined for ListenAndServe to work:

  • LISTEN_ADDRESS - the network address to listen on, format HOST:[PORT]
  • ACCESS_TOKEN - the access token that must be present in all the POST request as a parameter, otherwise the request is rejected

These should be included in .meeko/agent.json as other variables.

License

MIT, see the LICENSE file.

About

Meeko agent helper for implementing webhook collectors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages