Documentation ¶
Index ¶
- func JsClient(t *testing.T, s *server.Server, opts ...nats.Option) (*nats.Conn, nats.JetStreamContext)
- func RunBasicJetStreamServer() *server.Server
- 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 ShutdownJSServerAndRemoveStorage(t *testing.T, s *server.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBasicJetStreamServer ¶
func RunDefaultServer ¶
RunDefaultServer will run a server on the default port.
func RunServerOnPort ¶
RunServerOnPort will run a server on the given port.
func RunServerWithConfig ¶
RunServerWithConfig will run a server with the given configuration file.
func RunServerWithOptions ¶
RunServerWithOptions will run a server with the given options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.