pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Take the provided endpoint and run the server