Function start_server

Source
pub async fn start_server(
    config: Arc<Config>,
    service: Service<Observer>,
    statistics: Statistics,
) -> Result<()>
Expand description

start http server

Create an http server and start it, and you can access the controller instance through the http interface.

Warn: This http server does not contain any means of authentication, and sensitive information and dangerous operations can be obtained through this service, please do not expose it directly to an unsafe environment.