We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start_server
Thanks for this little gem. I am still trying to write a test. Could you share what start_server looks like? I currently have
async fn start_server() -> JoinHandle<()> { let grpc_service = tonic::transport::Server::builder() .add_service(create_grpc_service()) .into_service(); let addr = SocketAddr::from(([127, 0, 0, 1], 3000)); tracing::debug!("listening on {}", addr); tokio::spawn(async move { tonic::transport::Server::builder() .add_service(create_grpc_service()) .serve(addr) .await; }) }
but I think that I need something else.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for this little gem. I am still trying to write a test. Could you share what
start_server
looks like? I currently havebut I think that I need something else.
The text was updated successfully, but these errors were encountered: