21ki / GoWebhook

github webhook service written by go.

Home Page:https://moonagic.com/make-webhook-backend-with-golang/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoWebhooks

一个使用Go编写的Github webhook接收处理服务.
Go Report Card
用Golang重写Github webhook后台服务

配置

# vi /etc/gowebhook/config
{
  "requestUrl": "在Webhooks中设定的Payload URL",
  "secret": "在Webhooks中设定的secret",
  "host": "监听地址",
  "port": "监听端口",
  "script": "用于部署的shell脚本"
}

简单的systemd启动服务

[Unit]
Description=gowebhook service
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/gowebhook

[Install]
WantedBy=multi-user.target

About

github webhook service written by go.

https://moonagic.com/make-webhook-backend-with-golang/

License:MIT License


Languages

Language:Go 97.4%Language:Batchfile 1.4%Language:Shell 1.2%