test

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ClientPort = 11224

ClientPort is the default port for clients to connect

View Source
const MonitorPort = 11424

MonitorPort is the default monitor port

Variables

This section is empty.

Functions

func CreateClientConnSubscribeAndPublish

func CreateClientConnSubscribeAndPublish(t *testing.T) *nats.Conn

CreateClientConnSubscribeAndPublish creates a conn and publishes

func RunServer

func RunServer() *server.Server

RunServer runs the NATS server in a go routine

func RunServerWithPorts

func RunServerWithPorts(cport, mport int) *server.Server

RunServerWithPorts runs the NATS server with a monitor port in a go routine

func RunStreamingServer added in v0.2.0

func RunStreamingServer() *nss.StanServer

RunStreamingServer runs the STAN server in a go routine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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