pub fn generate_gateway_id() -> crate::GatewayId {
rand::random::<u32>().to_le_bytes()
}
pub fn generate_request_id() -> crate::RequestId {
rand::random::<u32>().to_le_bytes()
}
pub fn id_to_string(gateway_id: &crate::GatewayId) -> String {
hex::encode(gateway_id)
}