this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

WIP stub implementations for redis and cache directories

+10
+5
atproto/identity/cache_directory.go
··· 250 250 return nil, fmt.Errorf("at-identifier neither a Handle nor a DID") 251 251 } 252 252 253 + func (d *CacheDirectory) ResolveDID(ctx context.Context, did syntax.DID) (map[string]any, error) { 254 + // XXX: cache this kind of doc separately 255 + return d.Inner.ResolveDID(ctx, did) 256 + } 257 + 253 258 func (d *CacheDirectory) Purge(ctx context.Context, a syntax.AtIdentifier) error { 254 259 handle, err := a.AsHandle() 255 260 if nil == err { // if not an error, is a handle
+5
atproto/identity/redisdir/redis_directory.go
··· 384 384 } 385 385 return errors.New("at-identifier neither a Handle nor a DID") 386 386 } 387 + 388 + func (d *RedisDirectory) ResolveDID(ctx context.Context, did syntax.DID) (map[string]any, error) { 389 + // XXX: cache this kind of doc separately 390 + return d.Inner.ResolveDID(ctx, did) 391 + }