go - Catch error and do other something -


i'm trying create function publish message rabbitmq goroutine. want that: when call function 1000 time @ same time, if have error, function catch error , redial 1 time , push message array resend simultaneously.

thanks , please me!


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -