test

package
v0.0.0-...-06976a7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsClient

func JsClient(t *testing.T, s *server.Server, opts ...nats.Option) (*nats.Conn, nats.JetStreamContext)

func RunBasicJetStreamServer

func RunBasicJetStreamServer() *server.Server

func RunDefaultServer

func RunDefaultServer() *server.Server

RunDefaultServer will run a server on the default port.

func RunServerOnPort

func RunServerOnPort(port int) *server.Server

RunServerOnPort will run a server on the given port.

func RunServerWithConfig

func RunServerWithConfig(configFile string) (*server.Server, *server.Options)

RunServerWithConfig will run a server with the given configuration file.

func RunServerWithOptions

func RunServerWithOptions(opts server.Options) *server.Server

RunServerWithOptions will run a server with the given options.

func ShutdownJSServerAndRemoveStorage

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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