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

Function RunServerWithConfig

jetstream/test/helper_test.go:108–110  ·  view source on GitHub ↗

RunServerWithConfig will run a server with the given configuration file.

(configFile string)

Source from the content-addressed store, hash-verified

106
107// RunServerWithConfig will run a server with the given configuration file.
108func RunServerWithConfig(configFile string) (*server.Server, *server.Options) {
109 return natsserver.RunServerWithConfig(configFile)
110}
111
112func RunBasicJetStreamServer() *server.Server {
113 opts := natsserver.DefaultTestOptions

Callers 11

TestJetStreamErrorsFunction · 0.70
TestPublishMsgFunction · 0.70
TestPublishMsgAsyncFunction · 0.70
TestNewWithAPIPrefixFunction · 0.70
TestNewWithDomainFunction · 0.70
TestAccountInfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected