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