Skip to main content

Crate atrg_identity

Crate atrg_identity 

Source
Expand description

DID and handle resolution with TTL-backed in-memory caching for at-rust-go.

Wraps DID/handle resolution with a [moka] TTL-backed in-memory cache. Every handler that needs to resolve a DID document or handle should go through IdentityResolver rather than making raw HTTP calls.

Structsยง

IdentityConfig
Configuration for the identity resolver.
IdentityMetrics
Cache performance metrics.
IdentityResolver
DID and handle resolver with TTL-backed in-memory cache.
ResolvedIdentity
A resolved identity from the AT Protocol network.