torigen_mounter 0.1.0

Core functionality for Torigen, a tool for mounting and managing Tor hidden services.
Documentation
1
2
3
4
5
6
use crate::generated::{PagedResults, Section, SectionItem};

pub trait HomepageProvider {
    fn get_homepage(&self) -> Option<Vec<Section>>;
    fn get_view_more_items(&self, section_id: &str) -> Result<PagedResults<SectionItem>, String>;
}