ma-core 0.10.28

DIDComm service library: inboxes, outboxes, DID document publishing, and transport abstraction
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Iroh transport backend.

pub mod channel;
mod endpoint;
#[cfg(feature = "gossip")]
pub mod gossip;

use crate::error::Result;

pub(crate) async fn new_endpoint(
    secret_bytes: [u8; 32],
    ipv6: bool,
) -> Result<endpoint::IrohEndpoint> {
    endpoint::IrohEndpoint::new(secret_bytes, ipv6).await
}