pub use index::*;
mod index;
pub trait SubRouter {
fn address(&self) -> String;
fn build(&self) -> Result<axum::Router, scsys::BoxError>;
fn build_endpoint(&self, p: String) -> String {
format!("{}/{}/{}", &self.address(), &self.prefix(), p)
}
fn prefix(&self) -> String;
}