test

package
v0.0.0-...-20e2382 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2015 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnection

func NewConnection(t tLogger, port int) *nats.Conn

func NewDefaultConnection

func NewDefaultConnection(t tLogger) *nats.Conn

func NewEConn

func NewEConn(t tLogger) *nats.EncodedConn

func RunDefaultServer

func RunDefaultServer() *server.Server

func RunServerOnPort

func RunServerOnPort(port int) *server.Server

func RunServerWithOptions

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

func Wait

func Wait(ch chan bool) error

Dumb wait program to sync on callbacks, etc... Will timeout

func WaitTime

func WaitTime(ch chan bool, timeout time.Duration) error

Types

type TestLogger

type TestLogger tLogger

Jump to

Keyboard shortcuts

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