loghook

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 14 Imported by: 0

README

loghook

what is this?

A webhook recipient for GitHub. Just emits events to standard output.

A chunk of this - noted in the source, with thanks! - is directly lifted from @phayes's hookserve:

https://github.com/phayes/hookserve/blob/master/hookserve/hookserve.go

how?

  1. generate a shared secret somehow and stash it in the environment variable LOGHOOK_GITHUB_WEBHOOK_SECRET
export LOGHOOK_GITHUB_WEBHOOK_SECRET=$(openssl rand -hex 64)
  1. start loghook
./loghook

more?

./loghook -help

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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