MCPcopy
hub / github.com/nats-io/nats.go / RunServerWithOptions

Function RunServerWithOptions

test/helper_test.go:124–126  ·  view source on GitHub ↗

RunServerWithOptions will run a server with the given options.

(opts *server.Options)

Source from the content-addressed store, hash-verified

122
123// RunServerWithOptions will run a server with the given options.
124func RunServerWithOptions(opts *server.Options) *server.Server {
125 return natsserver.RunServer(opts)
126}
127
128// RunServerWithConfig will run a server with the given configuration file.
129func RunServerWithConfig(configFile string) (*server.Server, *server.Options) {

Callers 15

TestReconnectErrHandlerFunction · 0.70
TestGetClientIDFunction · 0.70
TestRetryOnFailedConnectFunction · 0.70
TestWSBasicFunction · 0.70
TestWSControlFramesFunction · 0.70
TestWSConcurrentConnsFunction · 0.70
TestWSCompressionFunction · 0.70
TestWSWithTLSFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected