Documentation
¶
Index ¶
- type Hydrator
- func (h *Hydrator) GetIdentitiesInRepo(repo *repo.Repo) ([]atpidentity.Identity, error)
- func (h *Hydrator) GetRepoBytes(actorDid string, pdsEndpoint string) ([]byte, error)
- func (h *Hydrator) Hydrate(val interface{}, actorDid string) (result map[string]interface{}, err error)
- func (h *Hydrator) LookupIdentity(identifier string) (identity *atpidentity.Identity, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hydrator ¶
type Hydrator struct {
Cache *ristretto.Cache
AuthInfo *xrpc.AuthInfo
Context context.Context
Client *xrpc.Client
IdentityDirectory identity.Directory
Ratelimit ratelimit.Limiter // Rate limiting for authenticated endpoints. May be called by other packages whenever they make a rate-limited request.
}
func MakeHydrator ¶
func (*Hydrator) GetIdentitiesInRepo ¶
func (*Hydrator) GetRepoBytes ¶
func (*Hydrator) LookupIdentity ¶
func (h *Hydrator) LookupIdentity(identifier string) (identity *atpidentity.Identity, err error)
Click to show internal directories.
Click to hide internal directories.