options added

This commit is contained in:
nquidox 2026-02-20 15:31:13 +03:00
parent 8b1bc57cd0
commit 3f0401de1d
5 changed files with 91 additions and 44 deletions

11
messages.go Normal file
View 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")
)