StartServiceBackground starts the proxy service in a background goroutine and returns a cancel function for shutdown and a done channel.
(cfg *config.Config, configPath string, localPassword string)
| 86 | // StartServiceBackground starts the proxy service in a background goroutine |
| 87 | // and returns a cancel function for shutdown and a done channel. |
| 88 | func StartServiceBackground(cfg *config.Config, configPath string, localPassword string) (cancel func(), done <-chan struct{}) { |
| 89 | return StartServiceBackgroundWithPluginHost(cfg, configPath, localPassword, nil) |
| 90 | } |
| 91 | |
| 92 | // StartServiceBackgroundWithPluginHost starts the proxy service with a shared plugin host. |
| 93 | func StartServiceBackgroundWithPluginHost(cfg *config.Config, configPath string, localPassword string, host *pluginhost.Host) (cancel func(), done <-chan struct{}) { |
nothing calls this directly
no test coverage detected