Documentation ¶
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 RunServerWithConfig(configFile string) (*server.Server, *server.Options)
- func RunServerWithOptions(opts server.Options) *server.Server
- func Wait(ch chan bool) error
- func WaitTime(ch chan bool, timeout time.Duration) error
- type TestLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
NewConnection forms connection on a given port.
func RunDefaultServer ¶
RunDefaultServer will run a server on the default port.
func RunServerOnPort ¶
RunServerOnPort will run a server on the given port.
func RunServerWithConfig ¶ added in v1.1.6
RunServerWithConfig will run a server with the given configuration file.
func RunServerWithOptions ¶
RunServerWithOptions will run a server with the given options.
Types ¶
Click to show internal directories.
Click to hide internal directories.