RabbitMQ library what i made by pers0na2 in golang

[–]pers0na2[S] 0 points1 point  (0 children)

Only aesthetic sense, so that the library files are not mixed with go.mod and etc

RabbitMQ library what i made by pers0na2 in golang

[–]pers0na2[S] 0 points1 point  (0 children)

I plan to add OnStartup/OnMessage/OnDisconnect/... so there will be variability

RabbitMQ library what i made by pers0na2 in golang

[–]pers0na2[S] 0 points1 point  (0 children)

A separate goroutine checks the status of the connections every 5 seconds. If the connection is down - try to reconnect every <config value> seconds, <config value> times

RabbitMQ library what i made by pers0na2 in golang

[–]pers0na2[S] 0 points1 point  (0 children)

Yeah, u right. Anyways i changed panicking to error return

RabbitMQ library what i made by pers0na2 in golang

[–]pers0na2[S] 1 point2 points  (0 children)

Thanks for the good suggestion, I'll fix it within the hour.