mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
send message!
This commit is contained in:
parent
b50634841d
commit
99ce586dec
8 changed files with 169 additions and 66 deletions
|
|
@ -1,8 +1,16 @@
|
|||
use amqp_core::message::Message;
|
||||
use amqp_core::methods::Method;
|
||||
use amqp_core::ChannelHandle;
|
||||
use std::time::Duration;
|
||||
use tokio::time;
|
||||
use tracing::debug;
|
||||
use tracing::{debug, info};
|
||||
|
||||
pub async fn handle_basic_publish(_channel_handle: ChannelHandle, message: Message) {
|
||||
info!(
|
||||
?message,
|
||||
"Someone has summoned the almighty Basic.Publish handler"
|
||||
);
|
||||
}
|
||||
|
||||
pub async fn handle_method(_channel_handle: ChannelHandle, _method: Method) {
|
||||
debug!("handling method or something in that cool new future");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue