Giter Site home page Giter Site logo

si3nloong / webhook Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 528 KB

A webhook server comply with at least once delivery. (Cloud Native) - WIP

License: MIT License

Makefile 0.55% Go 75.06% Dockerfile 1.06% JavaScript 3.55% Svelte 17.00% TypeScript 2.79%
go webhook-server webhook curl grpc cli docker k8s message-queue

webhook's Introduction

Webhook Server

A golang webhook server comply with at least once deliver.

Build Release Go Report Go Coverage LICENSE

🔨 Installation

go get github.com/si3nloong/webhook

⚙️ Configuration

# HTTP server
enabled: true
port: 3000
no_of_worker: 2
max_pending_webhook: 10000

# gRPC server
grpc:
  enabled: true # enable gRPC server
  api_key: "abcd"
  port: 9000

message_queue:
  engine: "redis" # possible value is redis, nats, nsq
  topic: "webhook"
  queue_group: "webhook"
  redis:
    cluster: false
    addr: "127.0.0.1:6379"
    password: ""
    db: 1
  nats:
    js: true # indicate whether use jetstream or not

✨ Features

  • Support YAML and env configuration.
  • Automatically re-send webhook if the response is fail.
  • RESTful API ready.
  • GraphQL API ready.
  • Support gRPC protocol.
  • Allow to send a webhook using cURL command
  • Support Inmemory, Redis, NATS, NSQ as Message Queue engine.
  • Support Elasticsearch as Persistent Volume engine.
  • Dockerize.
  • Configurable.
  • Kubernetes ready.
  • Headless friendly.
  • CLI ready.

⚡️ rest APIs

Please refer to here.

⚡️ GraphQL API

Please refer to here.

💡 gRPC API

Please refer to here.

⚠️ Disclaimer

This project still under development, don't use this in production!

🎉 Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

GitHub NPM

License

Copyright 2021 SianLoong

Licensed under the MIT License.

webhook's People

Contributors

dependabot[bot] avatar si3nloong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cloudxo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.