this repo has no description
0
fork

Configure Feed

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

rename NetClient to SyncClient

+1 -1
+1 -1
atproto/client/net_client.go atproto/client/sync_client.go
··· 12 12 // API for clients which pull data from the public atproto network. 13 13 // 14 14 // Implementations of this interface might resolve PDS instances for DIDs, and fetch data from there. Or they might talk to an archival relay or other network mirroring service. 15 - type NetClient interface { 15 + type SyncClient interface { 16 16 // Fetches record JSON, without verification or validation. A version (CID) can optionally be specified; use empty string to fetch the latest. 17 17 // Returns the record as JSON, and the CID indicated by the server. Does not verify that the data (as CBOR) matches the CID, and does not cryptographically verify a "proof chain" to the record. 18 18 GetRecordJSON(ctx context.Context, aturi syntax.ATURI, version syntax.CID) (*json.RawMessage, *syntax.CID, error)