test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2018 License: MIT Imports: 8 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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