Versions in this module Expand all Collapse all v0 v0.5.0 Jul 17, 2025 Changes in this version + var LevelOpts = metrics.GaugeOpts + type IdentityCache struct + func NewIdentityCache(backed IdentityCacheBackendFunc, size int, auditInfo []byte, metrics *Metrics) *IdentityCache + func (c *IdentityCache) Identity(ctx context.Context, auditInfo []byte) (driver.Identity, []byte, error) + type IdentityCacheBackendFunc func(ctx context.Context, auditInfo []byte) (driver.Identity, []byte, error) + type Metrics struct + CacheLevelGauge metrics.Gauge + func NewMetrics(p metrics.Provider) *Metrics