Crate helia_routers

Crate helia_routers 

Source
Expand description

Routing abstractions for Helia

Provides content routing (finding content) and peer routing (finding peers).

Re-exports§

pub use libp2p_routing::libp2p_routing;
pub use libp2p_routing::Libp2pRouting;
pub use http_gateway_routing::http_gateway_routing;
pub use http_gateway_routing::HTTPGatewayRouter;
pub use http_gateway_routing::HTTPGatewayRoutingInit;

Modules§

delegated_http_routing
Delegated HTTP Routing implementation
http_gateway_routing
HTTP Gateway Routing implementation
libp2p_routing
libp2p routing implementation

Structs§

PeerInfo
Information about a peer
ProviderInfo
Information about a content provider
Routers
Combined routers struct

Enums§

RoutingError
Errors that can occur during routing operations

Traits§

ContentRouting
Content routing interface
PeerRouting
Peer routing interface

Functions§

routers
Create a Routers instance