generated from rog-golang-buddies/golang-template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Milestone
Description
Here we need to:
- Add Rabbit MQ library
- Add Rabbit MQ connection package and struct
- Add QueueEvent listener struct to listen for incoming events and request downstream service
For completing this issue we need settings from issue: #10
I propose request message structure like that:
{
"notify_user" : true,
"url": "link to file"
}
And response message:
{
"notify_user" : true,
"api_spec_doc": "result model"
}
In case of error send message to API gateway error queue something like that:
{
"message" : "Link validation failed"
}
"notify user" field is needed to just pass information to the downstream service (to indicate is user notification required about complete)