nats.go
nats.go copied to clipboard
Connection string options
It would be really nice if we could use NATS URL to enable connection options using URL parameters, e.g:
nats://127.0.0.1:4222/?rootCA=%2Ftmp%2Fca1.pem&rootCA=%2Ftmp%2Fca2.pem&certFile=%2Ftmp%2Fclient.crt&keyFile=%2Ftmp%2Fclient.key&noReconnect&dontRandomize&reconnectWait=10s&maxReconnects=10