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

Sort a complex associative array in PHP -

c++ - Fill edges and center of array/vector with different values -

ios - Chat Bubble in Swift3 -