windshare

module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: AGPL-3.0

Directories

Path Synopsis
adapters
cmd
network-sign command
network-sign authorizes signing keys offline and mirrors authority-signed publications.
network-sign authorizes signing keys offline and mirrors authority-signed publications.
network-upgrade command
network-upgrade stages and verifies one official relay through an operator-owned SSH alias.
network-upgrade stages and verifies one official relay through an operator-owned SSH alias.
network-vantage command
network-vantage polls the authority from one enrolled network zone.
network-vantage polls the authority from one enrolled network zone.
testprocessowner command
Command testprocessowner isolates correctness-test descendants from their runner so deadlines and runner loss still retire the complete process tree.
Command testprocessowner isolates correctness-test descendants from their runner so deadlines and runner loss still retire the complete process tree.
wind command
wind 是 CLI 入口(执行计划 §6.9):`share <paths>` 仅 stat 出链接并 在线供块,`get <link>` 解析链接、拉清单、下载落盘。
wind 是 CLI 入口(执行计划 §6.9):`share <paths>` 仅 stat 出链接并 在线供块,`get <link>` 解析链接、拉清单、下载落盘。
wind/internal/accountcommand
Package accountcommand presents the engine's shared official-service account.
Package accountcommand presents the engine's shared official-service account.
wind/internal/cli
Package cli 承载 wind 的子命令逻辑(执行计划 §6.9)。
Package cli 承载 wind 的子命令逻辑(执行计划 §6.9)。
wind/internal/commandinput
Package commandinput keeps command cancellation independent of blocking input.
Package commandinput keeps command cancellation independent of blocking input.
wind/internal/commandmeta
Package commandmeta defines the stable public identity of the native CLI.
Package commandmeta defines the stable public identity of the native CLI.
wind/internal/commandprojection
Package commandprojection adapts engine facts to command-specific results.
Package commandprojection adapts engine facts to command-specific results.
wind/internal/configcommand
Package configcommand imports persistent frontend and relay choices.
Package configcommand imports persistent frontend and relay choices.
wind/internal/networkcommand
Package networkcommand owns explicit setup and read-only network diagnostics.
Package networkcommand owns explicit setup and read-only network diagnostics.
wind/internal/observationbridge
Package observationbridge owns CLI-side execution of bounded producer observation streams.
Package observationbridge owns CLI-side execution of bounded producer observation streams.
windshare-host command
WindShare's only native ABI is host lifetime and C-owned result buffers.
WindShare's only native ABI is host lifetime and C-owned result buffers.
connectivity
iceconfig
Package iceconfig describes immutable ICE inputs.
Package iceconfig describes immutable ICE inputs.
icepolicy
Package icepolicy owns trusted, transport-independent ICE selection policy.
Package icepolicy owns trusted, transport-independent ICE selection policy.
nativepeer
Package nativepeer assembles demand-owned native connectivity resources.
Package nativepeer assembles demand-owned native connectivity resources.
networkstate
Package networkstate freezes address and egress facts for a connectivity generation.
Package networkstate freezes address and egress facts for a connectivity generation.
pionpeer
Package pionpeer adapts one Pion PeerConnection to an immutable connectivity resource snapshot.
Package pionpeer adapts one Pion PeerConnection to an immutable connectivity resource snapshot.
reachability
Package reachability owns demand-bounded gateway leases, never ICE attempts.
Package reachability owns demand-bounded gateway leases, never ICE attempts.
reachability/gateway
Package gateway implements bounded, egress-bound gateway control protocols.
Package gateway implements bounded, egress-bound gateway control protocols.
relayplan
Package relayplan makes bounded, deterministic relay choices from supplied facts.
Package relayplan makes bounded, deterministic relay choices from supplied facts.
relayset
Package relayset coordinates independent relay endpoint lifecycles.
Package relayset coordinates independent relay endpoint lifecycles.
senderrelay
Package senderrelay owns one relay's registration for the lifetime of a share.
Package senderrelay owns one relay's registration for the lifetime of a share.
socketauthority
Package socketauthority owns bounded, independent per-path UDP endpoints.
Package socketauthority owns bounded, independent per-path UDP endpoints.
throughput
Package throughput decides optional growth from aggregate application progress.
Package throughput decides optional growth from aggregate application progress.
turncapacity
Package turncapacity owns shared TURN admission and bounded handoff capacity.
Package turncapacity owns shared TURN admission and bounded handoff capacity.
turnpath
Package turnpath owns session-scoped delegated TURN paths.
Package turnpath owns session-scoped delegated TURN paths.
turnroute
Package turnroute plans and schedules TURN egress independently of an ICE implementation.
Package turnroute plans and schedules TURN egress independently of an ICE implementation.
v2peer
Package v2peer terminates authenticated suite-02 peer-signaling operations at the Go sender and owns the corresponding Pion PeerConnections.
Package v2peer terminates authenticated suite-02 peer-signaling operations at the Go sender and owns the corresponding Pion PeerConnections.
v2peer/internal/candidatewriter
Package candidatewriter isolates ordered ICE signaling I/O from peer lifecycle dispatch.
Package candidatewriter isolates ordered ICE signaling I/O from peer lifecycle dispatch.
v2peer/peerset
Package peerset owns demand-driven peer path recovery.
Package peerset owns demand-driven peer path recovery.
v2signal
Package v2signal owns the E2E WebRTC signaling schema.
Package v2signal owns the E2E WebRTC signaling schema.
core module
capacityledger
Package capacityledger accounts for retained capacity without choosing admission, eviction, or scheduling policy.
Package capacityledger accounts for retained capacity without choosing admission, eviction, or scheduling policy.
catalog
Package catalog models an incrementally materialized hierarchy of share nodes.
Package catalog models an incrementally materialized hierarchy of share nodes.
connectionpath
Package connectionpath defines transport-neutral path lifecycle facts.
Package connectionpath defines transport-neutral path lifecycle facts.
content
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.
content/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.
content/revisioncapacity
Package revisioncapacity owns process-wide stable-revision and active-lease accounting.
Package revisioncapacity owns process-wide stable-revision and active-lease accounting.
diagnosticerror
Package diagnosticerror freezes bounded error evidence without retaining errors.
Package diagnosticerror freezes bounded error evidence without retaining errors.
diagnostics
Package diagnostics carries source-owned execution evidence independently of application state.
Package diagnostics carries source-owned execution evidence independently of application state.
downloadmetrics
Package downloadmetrics accounts for unique authenticated content over one download.
Package downloadmetrics accounts for unique authenticated content over one download.
framechannel
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 suite-0x02 HKDF-SHA256 derivation.
Package keyderiv owns suite-0x02 HKDF-SHA256 derivation.
internal/testvec
Package testvec reads the canonical cross-runtime fixtures in core/testvectors.
Package testvec reads the canonical cross-runtime fixtures in core/testvectors.
internal/unicode15
Package unicode15 provides the frozen Unicode primitives used by versioned protocol identities.
Package unicode15 provides the frozen Unicode primitives used by versioned protocol identities.
link
Package link constructs and parses sender-authenticated capability URLs:
Package link constructs and parses sender-authenticated capability URLs:
liveshare
Package liveshare composes network-free suite-02 catalog, content, and session runtimes.
Package liveshare composes network-free suite-02 catalog, content, and session runtimes.
nodedirectory
Package nodedirectory verifies deployment configuration without performing I/O.
Package nodedirectory verifies deployment configuration without performing I/O.
observationstream
Package observationstream provides a bounded, producer-owned observation queue without executing consumer code.
Package observationstream provides a bounded, producer-owned observation queue without executing consumer code.
senderauth
Package senderauth defines the sender-signature acceptance policy shared by native and browser receivers, independently of their cryptographic backends.
Package senderauth defines the sender-signature acceptance policy shared by native and browser receivers, independently of their cryptographic backends.
senderobject
Package senderobject seals and authenticates the suite-0x02 bootstrap descriptor.
Package senderobject seals and authenticates the suite-0x02 bootstrap descriptor.
serviceauthority
Package serviceauthority verifies account authority records without I/O.
Package serviceauthority verifies account authority records without I/O.
session
Package session defines shared session errors, limits and lane identities.
Package session defines shared session errors, limits and lane identities.
session/catalogflow
Package catalogflow handles the share descriptor and progressive LIST_CHILDREN.
Package catalogflow handles the share descriptor and progressive LIST_CHILDREN.
session/channeltest
Package channeltest defines the transport-neutral FrameChannel behavior matrix.
Package channeltest defines the transport-neutral FrameChannel behavior matrix.
session/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.
session/internal/admissiongate
Package admissiongate joins short-lived work before its owner's resources are released.
Package admissiongate joins short-lived work before its owner's resources are released.
session/internal/sessioncore
Package sessioncore owns encrypted lanes, exact-generation operation routing, and role-neutral session termination.
Package sessioncore owns encrypted lanes, exact-generation operation routing, and role-neutral session termination.
session/observation
Package sessionobs defines transport-neutral session observations and bounded diagnostic snapshots.
Package sessionobs defines transport-neutral session observations and bounded diagnostic snapshots.
session/peerslot
Package peerslot owns bounded negotiation identities for one receiver session.
Package peerslot owns bounded negotiation identities for one receiver session.
session/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.
session/receivercontinuation
Package receivercontinuation retains transfer dependencies across authenticated protocol generations without extending the lifetime of any session authority.
Package receivercontinuation retains transfer dependencies across authenticated protocol generations without extending the lifetime of any session authority.
session/receiversession
Package receiversession owns download-side catalog, revision, block and peer operations.
Package receiversession owns download-side catalog, revision, block and peer operations.
session/requestlane
Package requestlane estimates control-response completion independently of content throughput, transport providers, and operation delivery authority.
Package requestlane estimates control-response completion independently of content throughput, transport providers, and operation delivery authority.
session/revisionaccess
Package revisionaccess keeps a receiver's immutable file identity independent of the expiring wire capabilities used to read it.
Package revisionaccess keeps a receiver's immutable file identity independent of the expiring wire capabilities used to read it.
session/sendersession
Package sendersession owns sharing-side session admission, catalog and content services, and orderly shutdown.
Package sendersession owns sharing-side session admission, catalog and content services, and orderly shutdown.
session/turncontrol
Package turncontrol defines session-authenticated TURN delegation messages.
Package turncontrol defines session-authenticated TURN delegation messages.
transfer
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.
transfer/catalogwalk
Package catalogwalk owns streaming validation of authenticated terminal catalog generations.
Package catalogwalk owns streaming validation of authenticated terminal catalog generations.
transfer/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.
transfer/internal/failurestate
Package failurestate admits collaborator failures into closed policy values shared by transfer orchestration and lane scheduling.
Package failurestate admits collaborator failures into closed policy values shared by transfer orchestration and lane scheduling.
transfer/lanes
Package lanes owns authenticated block scheduling and the complete lifetime of admitted attempts.
Package lanes owns authenticated block scheduling and the complete lifetime of admitted attempts.
transfer/lanescheduling
Package lanescheduling implements the Go receiver's local delivery policy.
Package lanescheduling implements the Go receiver's local delivery policy.
transfer/ordinaryoutput
Package ordinaryoutput owns construction-time policy for ordinary native receive output.
Package ordinaryoutput owns construction-time policy for ordinary native receive output.
transfer/receivecontract
Package receivecontract defines selections and output promises for the Go transfer engine.
Package receivecontract defines selections and output promises for the Go transfer engine.
transfer/revisionwait
Package revisionwait owns receiver-side scheduling for authenticated revision capacity pressure.
Package revisionwait owns receiver-side scheduling for authenticated revision capacity pressure.
urlhost
Package urlhost normalizes URL domain names without acquiring network capabilities.
Package urlhost normalizes URL domain names without acquiring network capabilities.
deploy
network
Package network embeds the release's shared native/browser trust configuration.
Package network embeds the release's shared native/browser trust configuration.
Package e2e owns black-box CLI process validation.
Package e2e owns black-box CLI process validation.
Package engine is WindShare's native application boundary.
Package engine is WindShare's native application boundary.
account
Package account coordinates official-service credentials outside relay handshakes.
Package account coordinates official-service credentials outside relay handshakes.
builtinnetwork
Package builtinnetwork is application wiring, never an engine default.
Package builtinnetwork is application wiring, never an engine default.
internal/configjson
Package configjson decodes configuration objects whose member names are case-insensitive, including provider-owned JSON nested in a document.
Package configjson decodes configuration objects whose member names are case-insensitive, including provider-owned JSON nested in a document.
internal/nativeconnectivity
Package nativeconnectivity assembles the native peer transport used by application workflows.
Package nativeconnectivity assembles the native peer transport used by application workflows.
internal/networkruntime
Package networkruntime assembles directory trust, recent connection facts and frontend health without giving library callers implicit infrastructure.
Package networkruntime assembles directory trust, recent connection facts and frontend health without giving library callers implicit infrastructure.
internal/receive
Package receive owns one receive operation across connection generations.
Package receive owns one receive operation across connection generations.
internal/share
Package share owns native sender application orchestration.
Package share owns native sender application orchestration.
internal/statefile
Package statefile owns private atomic files and recoverable local commits.
Package statefile owns private atomic files and recoverable local commits.
internal/task
Package task owns one native operation's cancellation and durable completion.
Package task owns one native operation's cancellation and durable completion.
internal/turnruntime
Package turnruntime owns TURN settings, shared account budgets and demand-driven discovery.
Package turnruntime owns TURN settings, shared account budgets and demand-driven discovery.
internal/turnruntime/internal/provider
Package provider implements credential issuers.
Package provider implements credential issuers.
networkconfig
Package networkconfig describes application-injected network and frontend trust.
Package networkconfig describes application-injected network and frontend trust.
networkdirectory
Package networkdirectory owns signed network snapshots, bounded refresh and durable rollback protection.
Package networkdirectory owns signed network snapshots, bounded refresh and durable rollback protection.
output
Package output owns destination acquisition and receive output contracts.
Package output owns destination acquisition and receive output contracts.
relayconfig
Package relayconfig owns saved profiles, active relay selection and frontend choice.
Package relayconfig owns saved profiles, active relay selection and frontend choice.
relayprofile
Package relayprofile describes application relay selection and saved service credentials.
Package relayprofile describes application relay selection and saved service credentials.
relaysetup
Package relaysetup implements discover, approve and install for native applications.
Package relaysetup implements discover, approve and install for native applications.
turn
Package turn exposes application settings, status and observations.
Package turn exposes application settings, status and observations.
turncache
Package turncache stores replaceable observations, scoped to relay authority.
Package turncache stores replaceable observations, scoped to relay authority.
host
desktop
Package desktop owns application-lifetime sharing and its authenticated local control endpoint.
Package desktop owns application-lifetime sharing and its authenticated local control endpoint.
desktop/logstore
Package logstore keeps bounded asynchronous host evidence off transfer goroutines.
Package logstore keeps bounded asynchronous host evidence off transfer goroutines.
internal
connectionliveness
Package connectionliveness judges a connection dead only after a full timeout without accepted inbound frames.
Package connectionliveness judges a connection dead only after a full timeout without accepted inbound frames.
networkprobe
Package networkprobe checks an operator-enrolled node through its public ingress.
Package networkprobe checks an operator-enrolled node through its public ingress.
platformsetup
Package platformsetup separates installation history, executable-scoped rule inspection, and rule writes.
Package platformsetup separates installation history, executable-scoped rule inspection, and rule writes.
processowner
Package processowner defines the small lifecycle contract shared by the test client and its platform-specific descendant supervisor.
Package processowner defines the small lifecycle contract shared by the test client and its platform-specific descendant supervisor.
processowner/linuxsubreaper
Package linuxsubreaper owns one test process tree behind a Linux subreaper.
Package linuxsubreaper owns one test process tree behind a Linux subreaper.
processowner/windowsjob
Package windowsjob owns one test process tree in a kill-on-close Job Object.
Package windowsjob owns one test process tree in a kill-on-close Job Object.
testicetopology
Package testicetopology owns the serialized, test-only ICE topology shared by browser fixtures and Pion processes.
Package testicetopology owns the serialized, test-only ICE topology shared by browser fixtures and Pion processes.
testloopback
Package testloopback owns deterministic loopback resources used by tests.
Package testloopback owns deterministic loopback resources used by tests.
testprocess
Package testprocess launches correctness-test children through a bounded, platform-native process-tree owner.
Package testprocess launches correctness-test children through a bounded, platform-native process-tree owner.
testrelaynative
Package testrelaynative hosts the native Rust relay for Go correctness suites.
Package testrelaynative hosts the native Rust relay for Go correctness suites.
testrun
Package testrun carries correlation identity across test runners and their child processes.
Package testrun carries correlation identity across test runners and their child processes.
testscenario
Package testscenario owns lifecycle evidence and cleanup verdicts for native integration and process E2E scenarios.
Package testscenario owns lifecycle evidence and cleanup verdicts for native integration and process E2E scenarios.
testtrace
Package testtrace transports canonical test-run events over a private endpoint installed by the external process owner.
Package testtrace transports canonical test-run events over a private endpoint installed by the external process owner.
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 records and the ordinary-operation registry that bounds resume, list, and discard work.
Package checkpointstore owns the native FileCheckpointV2 records and the ordinary-operation registry that bounds resume, list, and discard work.
internal/deliveryreceipts
Package deliveryreceipts keeps process-local delivery history with bounded memory.
Package deliveryreceipts keeps process-local delivery history with bounded memory.
internal/destinationauthority
Package destinationauthority owns the retained authority for ordinary native output.
Package destinationauthority owns the retained authority for ordinary native output.
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/namestore
Package namestore persists receiver-local name choices under the operation lease.
Package namestore persists receiver-local name choices under the operation lease.
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/outputnames
Package outputnames separates source identity from destination spelling.
Package outputnames separates source identity from destination spelling.
internal/outputportable
Package outputportable supplies best-effort restart storage using Go files.
Package outputportable supplies best-effort restart storage using Go files.
internal/outputprobe
Package outputprobe owns native feature proofs and exact-object cleanup.
Package outputprobe owns native feature proofs and exact-object cleanup.
internal/recoverywitness
Package recoverywitness encodes portable partial ownership and publication evidence.
Package recoverywitness encodes portable partial ownership and publication evidence.
internal/resumeauthority
Package resumeauthority reduces ordinary native operations after an exact operation lease has been acquired.
Package resumeauthority reduces ordinary native operations after an exact operation lease has been acquired.
relay
protocol/v2
Package v2 defines the binary relay contract for sender-authenticated shares.
Package v2 defines the binary relay contract for sender-authenticated shares.
relay-rust
tests/_goclient command
This helper drives the production Go relayv2 API against the native Rust host.
This helper drives the production Go relayv2 API against the native Rust host.
scripts
ci/_coverage command
coverage supplies the installed verdict tool with exactly the sources named by a root-module profile, keeping build caches outside source discovery.
coverage supplies the installed verdict tool with exactly the sources named by a root-module profile, keeping build caches outside source discovery.
ci/_engineboundary command
Command engineboundary checks application imports and exported contracts.
Command engineboundary checks application imports and exported contracts.
ci/_gopackages command
ci/_gotestsuite command
ci/_piondeps command
piondeps verifies the complete pinned source projection and replays the narrow patches in an isolated directory.
piondeps verifies the complete pinned source projection and replays the narrow patches in an isolated directory.
ci/_releaseassets command
releaseassets packages binaries built from an already verified source bundle.
releaseassets packages binaries built from an already verified source bundle.
ci/_transportboundary command
Command transportboundary keeps frame transports independent of connection orchestration.
Command transportboundary keeps frame transports independent of connection orchestration.
transport
relayv2
Package relayv2 adapts the native v2 opaque relay route to core FrameChannel.
Package relayv2 adapts the native v2 opaque relay route to core FrameChannel.
relayv2/internal/receiveledger
Package receiveledger accounts for inbound delivery on one physical connection.
Package receiveledger accounts for inbound delivery on one physical connection.
webrtc
Package webrtc adapts one ordered, reliable Pion DataChannel to the transport-neutral session.FrameChannel contract.
Package webrtc adapts one ordered, reliable Pion DataChannel to the transport-neutral session.FrameChannel contract.

Jump to

Keyboard shortcuts

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