Categorygithub.com/fluidity-money/fluidity-appcmdmicroservice-common-amqp-http-long-poll-basic
package
0.0.0-20240904073751-07d62d3164ce
Repository: https://github.com/fluidity-money/fluidity-app.git
Documentation: pkg.go.dev

# README

Common AMQP http long poll basic

Listens on the address and path given, collecting all messages on the AMQP and relaying down HTTP long pull after BASIC.

Environment variables

NameDescription
FLU_WORKER_IDWorker ID used to identify the application in logging and to the AMQP queue.
FLU_DEBUGToggle debug messages produced by any application using the debug logger.
FLU_SENTRY_URLString that may be optionally set with a Sentry URL to log app.
FLU_AMQP_QUEUE_ADDRAMQP queue address connected to to receive and send messages down.
FLU_WEB_LISTEN_ADDR:port or host:port to use when hosting the HTTP long poll server
FLU_LONG_POLL_LOGINSLogins to allow for HTTP basic, separated by , (ie username:password,username1:password1)

Building

make build

Testing

make test

Docker

make docker