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

Function RunServerWithOptions

jetstream/test/helper_test.go:103–105  ·  view source on GitHub ↗

RunServerWithOptions will run a server with the given options.

(opts server.Options)

Source from the content-addressed store, hash-verified

101
102// RunServerWithOptions will run a server with the given options.
103func RunServerWithOptions(opts server.Options) *server.Server {
104 return natsserver.RunServer(&opts)
105}
106
107// RunServerWithConfig will run a server with the given configuration file.
108func RunServerWithConfig(configFile string) (*server.Server, *server.Options) {

Callers 3

RunServerOnPortFunction · 0.70
RunBasicJetStreamServerFunction · 0.70
restartBasicJSServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected