syncweb-core 0.1.0

delay-tolerant web surfing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use iroh_gossip::net::Gossip;

pub struct GossipService {
    gossip: Gossip,
}

impl GossipService {
    pub fn new(gossip: &Gossip) -> Self {
        Self { gossip: gossip.clone() }
    }

    pub fn inner(&self) -> &Gossip {
        &self.gossip
    }
}