package test
import "github.com/nats-io/nats.go/test"
Index ¶
- func NewConnection(t tLogger, port int) *nats.Conn
- func NewDefaultConnection(t tLogger) *nats.Conn
- func NewEConn(t tLogger) *nats.EncodedConn
- func RunDefaultServer() *server.Server
- func RunServerOnPort(port int) *server.Server
- func RunServerWithOptions(opts server.Options) *server.Server
- func Wait(ch chan bool) error
- func WaitTime(ch chan bool, timeout time.Duration) error
Functions ¶
func NewConnection ¶
func NewDefaultConnection ¶
func NewEConn ¶
func NewEConn(t tLogger) *nats.EncodedConn
func RunDefaultServer ¶
func RunServerOnPort ¶
func RunServerWithOptions ¶
func Wait ¶
Dumb wait program to sync on callbacks, etc... Will timeout
func WaitTime ¶
Source Files ¶
- Version
- v1.1.2
- Published
- Sep 18, 2015
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 27 minutes ago –
Tools for package owners.