Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestURL = "nats://127.0.0.1:4222" TestURLWithPassword = "nats://admin:supersecret@127.0.0.1:4223" //nolint:gosec // test creds TestURLWithToken = "nats://s3cr3t@127.0.0.1:4224" //nolint:gosec // test creds TestURLWithNKey = "nats://127.0.0.1:4225" )
TestURL is a URL of a test NATS server.
Functions ¶
func GetTestConnection ¶
GetTestConnection returns a connection to a test NATS server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.