test

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestURL = "nats://127.0.0.1:4222"

TestURL is a URL of a test NATS server.

Functions

func CreateTestStream

func CreateTestStream(conn *nats.Conn, streamName string, subjects []string) error

CreateTestStream creates a test stream.

func GetTestConnection

func GetTestConnection() (*nats.Conn, error)

GetTestConnection returns a connection to a test NATS server.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL