feat(workflow): example stats page with embedded Chart.js, inline form validation errors

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 01:59:27 +02:00
co-authored by Claude Sonnet 5.5
parent 16a0bb0de4
commit 00af65613d
36 changed files with 1274 additions and 138 deletions
+4
View File
@@ -37,10 +37,14 @@ class Cache {
bool lookup(const std::string& key, std::string& out, long now);
void invalidate(const std::string& key);
std::size_t size() const;
long hits() const;
long misses() const;
private:
mutable std::mutex mu_;
std::map<std::string, CacheEntry> data_;
long hits_ = 0;
long misses_ = 0;
};
using PubsubHandler = std::function<void(const std::string& message)>;