An open API service indexing awesome lists of open source software.

https://github.com/peterdee/go-amqp-publisher

Working with AMQP (RabbitMQ) using Golang
https://github.com/peterdee/go-amqp-publisher

amqp fiber go golang rabbitmq rabbitmq-publisher

Last synced: over 1 year ago
JSON representation

Working with AMQP (RabbitMQ) using Golang

Awesome Lists containing this project

README

          

## go-amqp-publisher

This is a server application that also acts as a RabbitMQ publisher service

Application uses https://financialmodelingprep.com API to load stock data, and then this data is published to the queue

Consumer service: https://github.com/peterdee/go-amqp-consumer

### Environment variables

The `.env` file is required, see [.env.example](.env.example)

### Launch

Run RabbitMQ in Docker (if necessary):

```shell script
docker compose up -d
```

Launch the server:

```shell script
go run ./
```

With [AIR](https://github.com/cosmtrek/air):

```shell script
air ./
```

### License

[MIT](./LICENSE.md)