webhook

module
v0.0.0-...-3d09e97 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT

README

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.

Jump to

Keyboard shortcuts

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