core

module
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2026 License: Apache-2.0

README

WindShare core

github.com/windshare/windshare/core is WindShare's network-free Go module. It owns capability links, catalog and content contracts, authenticated session state, transfer orchestration, and root-confined filesystem adapters. Signaling and concrete transports remain in the repository's root module.

The module is pre-v1 and intentionally does not preserve obsolete protocol models. Applications should pin an exact release.

Verify a release

From this directory:

GOWORK=off go mod tidy -diff
GOWORK=off go list ./...
GOWORK=off go build ./...
GOWORK=off go test -race ./...

testvectors/ is the single canonical Go↔TypeScript protocol-vector inventory. It is included in module releases so the extracted module can run its complete test suite without a parent repository.

Licensed under Apache-2.0. See LICENSE and NOTICE.

Directories

Path Synopsis
Package catalog models an incrementally materialized hierarchy of share nodes.
Package catalog models an incrementally materialized hierarchy of share nodes.
Package content models file-local revisions, byte ranges, stable-source leases, and the v2 per-file key hierarchy.
Package content models file-local revisions, byte ranges, stable-source leases, and the v2 per-file key hierarchy.
records
Package records encodes and authenticates the transport-neutral file-revision and block-record objects used by the v2 content plane.
Package records encodes and authenticates the transport-neutral file-revision and block-record objects used by the v2 content plane.
Package framechannel defines the transport-neutral byte channel consumed by suite-02 protocol sessions.
Package framechannel defines the transport-neutral byte channel consumed by suite-02 protocol sessions.
internal
keyderiv
Package keyderiv owns version-separated HKDF-SHA256 derivation.
Package keyderiv owns version-separated HKDF-SHA256 derivation.
testvec
Package testvec reads the canonical cross-runtime fixtures in core/testvectors.
Package testvec reads the canonical cross-runtime fixtures in core/testvectors.
Package link 实现能力链接(capability URL)的构造与解析(执行计划 §6.3)。
Package link 实现能力链接(capability URL)的构造与解析(执行计划 §6.3)。
Package liveshare composes the network-free suite-02 catalog, content, and session runtimes behind the production share/get boundary.
Package liveshare composes the network-free suite-02 catalog, content, and session runtimes behind the production share/get boundary.
internal/checkpointmodel
Package checkpointmodel owns the transport-neutral durable checkpoint values and their pure reducers.
Package checkpointmodel owns the transport-neutral durable checkpoint values and their pure reducers.
internal/checkpointstore
Package checkpointstore owns the native FileCheckpointV2 and receive-operation namespace.
Package checkpointstore owns the native FileCheckpointV2 and receive-operation namespace.
internal/directoryauthority
Package directoryauthority materializes and settles one output directory edge at a time while retaining the native authority needed to revalidate later work.
Package directoryauthority materializes and settles one output directory edge at a time while retaining the native authority needed to revalidate later work.
internal/fileexecution
Package fileexecution owns one native DirectTree file transaction.
Package fileexecution owns one native DirectTree file transaction.
internal/legacyresume
Package legacyresume recognizes only the retired filesystem namespace facts needed to decide whether explicit maintenance may remove private control state.
Package legacyresume recognizes only the retired filesystem namespace facts needed to decide whether explicit maintenance may remove private control state.
internal/outputcap
Package outputcap defines the native capabilities consumed by the incremental output runtime.
Package outputcap defines the native capabilities consumed by the incremental output runtime.
internal/outputprobe
Package outputprobe validates native feature-probe leftovers against the deterministic process-restart cuts that the certified filesystems can produce.
Package outputprobe validates native feature-probe leftovers against the deterministic process-restart cuts that the certified filesystems can produce.
internal/resumeauthority
Package resumeauthority reduces durable DirectTree operations after a fresh process has reacquired the operation lease and revalidated ownership.
Package resumeauthority reduces durable DirectTree operations after a fresh process has reacquired the operation lease and revalidated ownership.
Package senderobject implements the transport-neutral suite-0x02 object envelope.
Package senderobject implements the transport-neutral suite-0x02 object envelope.
session
catalogflow
Package catalogflow provides the progressive LIST_CHILDREN service and client above an authenticated protocol session.
Package catalogflow provides the progressive LIST_CHILDREN service and client above an authenticated protocol session.
channeltest
Package channeltest defines the transport-neutral FrameChannel behavior matrix.
Package channeltest defines the transport-neutral FrameChannel behavior matrix.
contentflow
Package contentflow implements the v2 revision and file-local block operation semantics above protocolsession's authenticated opaque-message boundary.
Package contentflow implements the v2 revision and file-local block operation semantics above protocolsession's authenticated opaque-message boundary.
protocolsession
Package protocolsession implements the authenticated end-to-end session primitives shared by protocol roles.
Package protocolsession implements the authenticated end-to-end session primitives shared by protocol roles.
sessionruntime
Package sessionruntime composes the transcript, sole pump/writer, role router, and business services into one owned ProtocolSession lifecycle.
Package sessionruntime composes the transcript, sole pump/writer, role router, and business services into one owned ProtocolSession lifecycle.
Package transfer coordinates receiver-scoped file-local block demand across authenticated protocol lanes.
Package transfer coordinates receiver-scoped file-local block demand across authenticated protocol lanes.
fault
Package fault defines the transport-neutral failure values consumed by transfer settlement policy.
Package fault defines the transport-neutral failure values consumed by transfer settlement policy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL