whosonfirst / go-webhookd

Go package to implement a bucket-brigrade style webhook server where requests are relayed through a receiver, one or more transformations and one or more dispatchers each of which have interfaces and are defined using a URI-based syntax to allow for custom processing.
BSD 3-Clause "New" or "Revised" License
26 stars 7 forks source link

Add auth support for pubsub dispatcher #17

Closed dfang closed 3 years ago

dfang commented 5 years ago

Add 3 envs:

if no host, port set for pubsub dispatcher, read from env, read redis password from env, if no password set on redis, no need to set WEBHOOKD_REDIS_PASSWORD

thisisaaronland commented 5 years ago

Thanks for this. Auth support is great but I'd rather not have it configured through in OS environment variables at the package level but rather through the config struct(s):

https://github.com/whosonfirst/go-webhookd/blob/master/config/config.go