syncweb_core/node/
gossip_service.rs1use iroh_gossip::net::Gossip;
2
3pub struct GossipService {
4 gossip: Gossip,
5}
6
7impl GossipService {
8 pub fn new(gossip: &Gossip) -> Self {
9 Self { gossip: gossip.clone() }
10 }
11
12 pub fn inner(&self) -> &Gossip {
13 &self.gossip
14 }
15}