Closed conatus closed 5 years ago
I like this enhancement I have add a change request open for a while but have not looked into implemented it yet (change #75) but i am happy to entertain a pull request for this functionnality
This was implemented under PR #175
Thanks for your work on this library.
For the purposes of writing end to end tests, we'd love it if the SNS publish method actually pushed out a HTTP/S endpoint if the subscription had
http
set as its protocol. I can see it already does this for the faked SQS service. https://github.com/p4tin/goaws/blob/master/app/gosns/gosns.go#L305-L346So the task would be something like:
Publish
from becoming unwieldy.Publish
which pushes out a SNS message to the endpoint and handles errors using a private method.Happy to try to add this feature but wanted to make this issue before I do just in case you had thought on the implementation or believe this is something out of scope for this application.