* 🔧 Remove commented-out regex patterns and initialization in config. * ✨ Add NATS message publisher with configuration 📩🚀 * ✨ Add new PlainTextMarshaler and refactor handler in nats package.
21 lines
346 B
TOML
21 lines
346 B
TOML
[nats]
|
|
url = "nats://localhost:4222"
|
|
client = "serial-client"
|
|
cluster = "tele-cluster"
|
|
|
|
[subscription]
|
|
topic = "Telegram.Serial"
|
|
queue = "tele-queue"
|
|
|
|
[publisher]
|
|
topic = "Telegram.Json"
|
|
|
|
[timeouts]
|
|
server = "5s"
|
|
reconnect_wait = "5s"
|
|
close = "10s"
|
|
ack_wait = "5s"
|
|
|
|
[hasura]
|
|
endpoint = "http://localhost:8080/v1/graphql"
|
|
secret = "aviation-test" |