streadway / amqp

Go client for AMQP 0.9.1
http://godoc.org/github.com/streadway/amqp
BSD 2-Clause "Simplified" License
4.88k stars 621 forks source link

Add IsClosed function to Channel and Connection #487

Closed dwdcth closed 3 years ago

dwdcth commented 3 years ago

Add IsClosed function to Channel and Connection ,so we can detect it before we use it when it is closed