tourniquet-tonic
Tourniquet integration with the celery library.
Example
#
#
let rr = new;
rr.run.await?;
License: MIT
Tourniquet integration with the celery library.
#
#
let rr = RoundRobin::new(
vec!["https://api01", "https://api02"],
TonicConnector::default(),
);
rr.run(|channel| async move {
grpc::greeting_client::GreetingClient::new(channel.as_ref().clone())
.hello(grpc::Message::default())
.await?;
Ok(())
}).await?;
License: MIT