update handler (#2)
* 🔧 Remove commented-out regex patterns and initialization in config. * ✨ Add NATS message publisher with configuration 📩🚀 * ✨ Add new PlainTextMarshaler and refactor handler in nats package.
This commit is contained in:
@@ -7,6 +7,9 @@ cluster = "tele-cluster"
|
||||
topic = "Telegram.Serial"
|
||||
queue = "tele-queue"
|
||||
|
||||
[publisher]
|
||||
topic = "Telegram.Json"
|
||||
|
||||
[timeouts]
|
||||
server = "5s"
|
||||
reconnect_wait = "5s"
|
||||
|
||||
Reference in New Issue
Block a user