Connecting to NATS Streaming Server
sc, err := stan.Connect(clusterID, clientID)sc, err := stan.Connect(clusterID, clientID, stan.NatsURL("nats://localhost:1234"))sc, err := stan.Connect(clusterID, clientID, stan.NatsConn(nc))Last updated
Was this helpful?