Directories
¶
| Path | Synopsis |
|---|---|
|
Package anyval checks and fixes the plain values ygo stores in items: the value kinds the Any encoder writes, and values written as JSON.
|
Package anyval checks and fixes the plain values ygo stores in items: the value kinds the Any encoder writes, and values written as JSON. |
|
Package awareness implements the y-protocols Awareness layer — the ephemeral, presence-style sibling of the document CRDT used to track per-client transient state like cursor positions, user names, and selection ranges.
|
Package awareness implements the y-protocols Awareness layer — the ephemeral, presence-style sibling of the document CRDT used to track per-client transient state like cursor positions, user names, and selection ranges. |
|
Package block defines the building blocks of a Yjs document.
|
Package block defines the building blocks of a Yjs document. |
|
Package difffuzz is a differential fuzzer of ygo against yjs: a seeded scenario of several peers editing, undoing and exchanging updates is replayed through ygo's public API (Run) and through yjs by a Node worker (testdata/gen/difffuzz-oracle.mjs), and the two traces are compared step by step (Compare): every update event byte for byte, the bytes a sync, merge or diff sends, and each touched peer's state, state vector, pending queue, view and undo stacks.
|
Package difffuzz is a differential fuzzer of ygo against yjs: a seeded scenario of several peers editing, undoing and exchanging updates is replayed through ygo's public API (Run) and through yjs by a Node worker (testdata/gen/difffuzz-oracle.mjs), and the two traces are compared step by step (Compare): every update event byte for byte, the bytes a sync, merge or diff sends, and each touched peer's state, state vector, pending queue, view and undo stacks. |
|
Package doc owns the Doc and Transaction types — the document container plus its mutation-lifecycle wrapper.
|
Package doc owns the Doc and Transaction types — the document container plus its mutation-lifecycle wrapper. |
|
Package encoding implements the V1 wire format yrs and JS Yjs use for state vectors, delete sets, and document updates.
|
Package encoding implements the V1 wire format yrs and JS Yjs use for state vectors, delete sets, and document updates. |
|
Package lib0 implements the binary encoding format used by Yjs.
|
Package lib0 implements the binary encoding format used by Yjs. |
|
Package memstore is an in-memory persist.VersionedStore with the behaviour of persist/sqlite: a document's updates in the order they were stored, compacted into one by Flush once there are two or more, versions numbered across documents, created at a whole second.
|
Package memstore is an in-memory persist.VersionedStore with the behaviour of persist/sqlite: a document's updates in the order they were stored, compacted into one by Flush once there are two or more, versions numbered across documents, created at a whole second. |
|
Package persisttest is the conformance suite for persist.VersionedStore implementations: what a store does with updates (append, read back, compact with Flush, refuse to compact an incomplete log), documents (exist, list, clear) and versions (save, list, read, delete, restore, prune), and the persist helpers on top of it.
|
Package persisttest is the conformance suite for persist.VersionedStore implementations: what a store does with updates (append, read back, compact with Flush, refuse to compact an incomplete log), documents (exist, list, clear) and versions (save, list, read, delete, restore, prune), and the persist helpers on top of it. |
|
Package store implements the per-client block storage that owns the memory for every Item in a Yjs document.
|
Package store implements the per-client block storage that owns the memory for every Item in a Yjs document. |
|
Package sync implements the y-protocols/sync wire format and the Hocuspocus outer message envelope.
|
Package sync implements the y-protocols/sync wire format and the Hocuspocus outer message envelope. |
|
Package types holds the user-facing shared CRDT collection types: Map, Array, Text, XmlElement / XmlFragment / XmlText.
|
Package types holds the user-facing shared CRDT collection types: Map, Array, Text, XmlElement / XmlFragment / XmlText. |
|
Package undo implements the Yjs UndoManager semantics in pure Go.
|
Package undo implements the Yjs UndoManager semantics in pure Go. |
|
Package utf16 provides UTF-16 code-unit length and offset helpers over Go's UTF-8 strings.
|
Package utf16 provides UTF-16 code-unit length and offset helpers over Go's UTF-8 strings. |
Click to show internal directories.
Click to hide internal directories.