Files
go-caatsm/configs/config.dev.toml
T
windyboy 8a4c46aa34 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.
2024-08-12 17:47:34 +08:00

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"