Closed istrau2 closed 3 years ago
Let me know if this covers your use cases, if so feel free to close.
Example application doing publish. https://github.com/houseofcat/turbocookedrabbit/blob/master/examples/publish/main.go
@houseofcat Thanks, I had actually implemented using a Publisher
instead of the RabbitService
because we don't want failed publishes getting autopublished. It looks like Publisher.Publish()
expects a *tcr.Letter
instead of an interface...
Cool, let me know if you are good and/or close out the issue.
@houseofcat sorry, I missed the part in your link where it uses the publisher directly. Yes, this is helpful. I will close now. Thanks for the help.
All good just making sure you are happy.
Always love to see new users.
I've been looking for documentation regarding letters. I can't find anything except the part that creates a mock letter. If i have a message in the form of a string, how do I turn that into a Letter that is publishable?
Thanks in advance