added delivery mode and content type json

alpha v1.0.1
alex 2023-01-07 19:18:39 +01:00
parent 17ad68b108
commit 2ab3b54628
1 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,13 @@ var (
errShutdown = errors.New("client is shutting down")
)
const (
DeliveryModeTransient = amqp.Transient
DeliveryModePersistent = amqp.Persistent
ContentTypeJson = "application/json"
)
type Config struct {
ReconnectDelay time.Duration
ReInitDelay time.Duration