MCPcopy
hub / github.com/frain-dev/convoy / CertCache

Struct CertCache

config/cert_cache.go:17–20  ·  view source on GitHub ↗

CertCache provides a thread-safe cache for parsed client certificates

Source from the content-addressed store, hash-verified

15
16// CertCache provides a thread-safe cache for parsed client certificates
17type CertCache struct {
18 mu sync.RWMutex
19 cache map[string]*CertCacheEntry
20}
21
22var (
23 certCacheInstance *CertCache

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected