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

Function RunServerWithConfig

test/helper_test.go:129–131  ·  view source on GitHub ↗

RunServerWithConfig will run a server with the given configuration file.

(configFile string)

Source from the content-addressed store, hash-verified

127
128// RunServerWithConfig will run a server with the given configuration file.
129func RunServerWithConfig(configFile string) (*server.Server, *server.Options) {
130 return natsserver.RunServerWithConfig(configFile)
131}
132
133func RunBasicJetStreamServer() *server.Server {
134 opts := natsserver.DefaultTestOptions

Callers 15

TestClientTLSConfigFunction · 0.70
TestClientCertificateFunction · 0.70
TestCallbacksOrderFunction · 0.70
TestTLSDontSkipVerifyFunction · 0.70
TestTLSHandshakeFirstFunction · 0.70
TestSubscribeIteratorFunction · 0.70
TestReconnectTLSHostNoIPFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected