implement web-api server with stats

This commit is contained in:
postscriptum 2026-03-22 03:24:02 +02:00
parent ddd7120f61
commit 126185480f
7 changed files with 952 additions and 44 deletions

View file

@ -48,4 +48,9 @@ impl List {
}),
}
}
pub fn entries(&self) -> usize {
match self {
Self::Allow(list) => list.len(),
}
}
}