Go package to implement the whosonfirst/go-webhookd
interfaces for dispatching webhooks messages to a Redis PubSub channel.
Before you begin please read the go-webhookd documentation for an overview of concepts and principles.
import (
_ "github.com/go-webhookd-pubsub"
)
The PubSub
dispatcher will send messages to a Redis PubSub channel. It is defined as a URI string in the form of:
pubsub://{REDIS_HOST}:{REDIS_PORT}/{REDIS_CHANNEL}
Name | Value | Description | Required |
---|---|---|---|
redis_host | string | The Redis host to publish to | yes |
redis_port | int | The Redis port to publish to | yes |
redis_channle | string | The name of the Redis channel to publish to | yes |