Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth implements challenge-response authentication over a libp2p stream.
|
Package auth implements challenge-response authentication over a libp2p stream. |
|
Package dataroot provides platform-specific data directory resolution for LinkSelf's storage hierarchy:
|
Package dataroot provides platform-specific data directory resolution for LinkSelf's storage hierarchy: |
|
Package devicesync provides transparent data replication between devices sharing the same DID (identity).
|
Package devicesync provides transparent data replication between devices sharing the same DID (identity). |
|
Package dht wraps libp2p Kademlia DHT to provide DID-based Provide/Find for LinkSelf.
|
Package dht wraps libp2p Kademlia DHT to provide DID-based Provide/Find for LinkSelf. |
|
Package did implements did:key generation, parsing, and verification for LinkSelf.
|
Package did implements did:key generation, parsing, and verification for LinkSelf. |
|
Package envelope provides a thin message type wrapper for multiplexing DeviceSync, GroupShare, and plain messages over the same transport.
|
Package envelope provides a thin message type wrapper for multiplexing DeviceSync, GroupShare, and plain messages over the same transport. |
|
Package group implements the group concept: member set (2+), owner, leave, dissolve.
|
Package group implements the group concept: member set (2+), owner, leave, dissolve. |
|
Package groupshare provides API-like data sharing between different DIDs in a group.
|
Package groupshare provides API-like data sharing between different DIDs in a group. |
|
Package node assembles a LinkSelf node: libp2p Host + DHT (DID Provide/Find) + auth.
|
Package node assembles a LinkSelf node: libp2p Host + DHT (DID Provide/Find) + auth. |
|
Package pairing implements a simple device pairing protocol for LinkSelf.
|
Package pairing implements a simple device pairing protocol for LinkSelf. |
|
Package permission provides table-level access control using the role DAG.
|
Package permission provides table-level access control using the role DAG. |
|
Package presence implements the device-presence directory that an always-on node (relay / bootstrap) exposes so that a user's devices can find each other's current reachable address — the discovery piece of two-layer multi-device sync (browser leaves cannot accept inbound connections, so they publish their Circuit-Relay address here and look up their siblings).
|
Package presence implements the device-presence directory that an always-on node (relay / bootstrap) exposes so that a user's devices can find each other's current reachable address — the discovery piece of two-layer multi-device sync (browser leaves cannot accept inbound connections, so they publish their Circuit-Relay address here and look up their siblings). |
|
Package role provides a role hierarchy as a directed acyclic graph (DAG).
|
Package role provides a role hierarchy as a directed acyclic graph (DAG). |
|
Package roster implements the device roster: the abstraction that unifies a user's devices under the two-layer identity model (data-sync-decisions §4.2 P3).
|
Package roster implements the device roster: the abstraction that unifies a user's devices under the two-layer identity model (data-sync-decisions §4.2 P3). |
|
Package sqlproxy provides a SQL query interface that wraps SQLite and captures write operations for sync.
|
Package sqlproxy provides a SQL query interface that wraps SQLite and captures write operations for sync. |
|
storage
|
|
|
sqlite
Package sqlite provides SQLite3-backed implementations of all LinkSelf storage interfaces.
|
Package sqlite provides SQLite3-backed implementations of all LinkSelf storage interfaces. |
|
Package storeforward implements Store-and-Forward: queue messages by destination DID, flush when the peer is reported online (e.g.
|
Package storeforward implements Store-and-Forward: queue messages by destination DID, flush when the peer is reported online (e.g. |
|
Package syncdb implements the sync layer: meta attachment, immediate group delivery, last-write-wins apply.
|
Package syncdb implements the sync layer: meta attachment, immediate group delivery, last-write-wins apply. |
Click to show internal directories.
Click to hide internal directories.