- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestNatsConnToken (0.09 sec)
-
internal/event/target/nats_contrib_test.go
Username: opts.Username, Password: opts.Password, } con, err := clientConfig.connectNats() if err != nil { t.Errorf("Could not connect to nats: %v", err) } defer con.Close() } func TestNatsConnToken(t *testing.T) { opts := natsserver.DefaultTestOptions opts.Port = 14223 opts.Authorization = "s3cr3t" s := natsserver.RunServer(&opts) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.3K bytes - Viewed (0)