mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 12:45:04 +01:00
not working :(
This commit is contained in:
parent
3bcce76885
commit
08ba799d23
4 changed files with 140 additions and 74 deletions
|
|
@ -12,11 +12,10 @@ mod tests;
|
|||
|
||||
use crate::connection::TransportConnection;
|
||||
use amqp_core::GlobalData;
|
||||
use anyhow::Result;
|
||||
use tokio::net;
|
||||
use tracing::{info, info_span, Instrument};
|
||||
|
||||
pub async fn do_thing_i_guess(global_data: GlobalData) -> Result<()> {
|
||||
pub async fn do_thing_i_guess(global_data: GlobalData) -> anyhow::Result<()> {
|
||||
info!("Binding TCP listener...");
|
||||
let listener = net::TcpListener::bind(("127.0.0.1", 5672)).await?;
|
||||
info!(addr = ?listener.local_addr()?, "Successfully bound TCP listener");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue