test

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JetStreamClient

func JetStreamClient(t *testing.T, s *server.Server) *nats.Client

JetStreamClient is used to get a testing JetStream client instance

func RunJetStreamServer

func RunJetStreamServer(t *testing.T) *server.Server

RunJetStreamServer starts a jetstream server

func RunNatsServer

func RunNatsServer(t *testing.T) *server.Server

RunNatsServer starts a nats server

func ShutdownJetStreamServer

func ShutdownJetStreamServer(t *testing.T, s *server.Server)

ShutdownJetStreamServer shuts down the jetstream server and clean up resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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