StartService builds and runs the proxy service using the exported SDK. It creates a new proxy service instance, sets up signal handling for graceful shutdown, and starts the service with the provided configuration. Parameters: - cfg: The application configuration - configPath: The path to the confi
(cfg *config.Config, configPath string, localPassword string)
| 28 | // - configPath: The path to the configuration file |
| 29 | // - localPassword: Optional password accepted for local management requests |
| 30 | func StartService(cfg *config.Config, configPath string, localPassword string) { |
| 31 | StartServiceWithPluginHost(cfg, configPath, localPassword, nil) |
| 32 | } |
| 33 | |
| 34 | // StartServiceWithPluginHost builds and runs the proxy service with a shared plugin host. |
| 35 | func StartServiceWithPluginHost(cfg *config.Config, configPath string, localPassword string, host *pluginhost.Host) { |
nothing calls this directly
no test coverage detected