options added
This commit is contained in:
parent
8b1bc57cd0
commit
3f0401de1d
5 changed files with 91 additions and 44 deletions
11
messages.go
Normal file
11
messages.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package rabbit
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
errNoAddr = errors.New("no address")
|
||||
errNoQueue = errors.New("no queue")
|
||||
errNotConnected = errors.New("not connected to a server")
|
||||
errAlreadyClosed = errors.New("already closed: not connected to the server")
|
||||
errShutdown = errors.New("client is shutting down")
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue