segmentio / nsq-go

Go package providing tools for building NSQ clients, servers and middleware.
MIT License
100 stars 20 forks source link

add nsq.(*Producer).Connected #11

Closed achille-roussel closed 7 years ago

achille-roussel commented 7 years ago

Exposes a method to know whether the producer is connected or not, this is intended to be used in periodic health checks to determine whether the service can publish messages.

tysonmote commented 7 years ago

LGTM

achille-roussel commented 7 years ago

Thanks guys!