MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / MemCacheMeta

Class MemCacheMeta

opensuse-proxy-cache/src/memcache.rs:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19#[derive(Debug, Clone)]
20pub struct MemCacheMeta {
21 pub req_path: String,
22 pub headers: Vec<(String, String)>,
23 pub content: Option<tide::http::Mime>,
24 pub blob: Vec<u8>,
25 pub refresh: Instant,
26}
27
28async fn cache_mgr(
29 map: Arc<HashMap<String, Arc<MemCacheObj>>>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected