Ja7ad / amqp

Wrapped amqp091-go with specific stable/safe regarding connection (Production Ready)
MIT License
7 stars 1 forks source link

publish or delivery message with auto encoder/decoder registered #2

Closed Ja7ad closed 9 months ago

Ja7ad commented 9 months ago

Describe the problem you'd like to have solved

We want support auto encoder and decoder json, gob and protobuf.

for example: https://github.com/nats-io/nats.go/tree/main/encoders/builtin

Describe the ideal solution

when create New() we register default encoder for auto encode and decode then base options we can customize to another encoder type.