windshare

module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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.
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/command
Package command provides the shared identity, exit-code contract, and privacy-safe flag parsing primitives used by wind and its subcommands.
Package command provides the shared identity, exit-code contract, and privacy-safe flag parsing primitives used by wind and its subcommands.
wind/internal/commandinput
Package commandinput keeps command cancellation independent of blocking input.
Package commandinput keeps command cancellation independent of blocking input.
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.
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 discovery inputs for a gathering generation.
Package iceconfig describes immutable ICE discovery inputs for a gathering generation.
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.
socketauthority
Package socketauthority owns bounded, independent per-path UDP endpoints and optional passive TCP listeners under separate capacity ledgers.
Package socketauthority owns bounded, independent per-path UDP endpoints and optional passive TCP listeners under separate capacity ledgers.
throughput
Package throughput decides optional growth from aggregate application progress.
Package throughput decides optional growth from aggregate application progress.
turnsession
Package turnsession owns the lifetime of TURN authorization for one authenticated share session.
Package turnsession owns the lifetime of TURN authorization for one authenticated share session.
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.
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.
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/turngrant
Package turngrant defines the session's network-independent credential issuance contract.
Package turngrant defines the session's network-independent credential issuance contract.
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/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 sender capacity backpressure.
Package revisionwait owns receiver-side scheduling for authenticated sender capacity backpressure.
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.
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.
turnissuer
Package turnissuer resolves the immutable TURN configuration selected by a share.
Package turnissuer resolves the immutable TURN configuration selected by a share.
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.
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.
diaglog
Package diaglog provides bounded, non-blocking JSONL diagnostic recording shared by the desktop host and CLI with a single dropped-record counter.
Package diaglog provides bounded, non-blocking JSONL diagnostic recording shared by the desktop host and CLI with a single dropped-record counter.
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.
powerinhibit
Package powerinhibit prevents idle OS system sleep during active transfers while leaving display turn-off and screen lock untouched.
Package powerinhibit prevents idle OS system sleep during active transfers while leaving display turn-off and screen lock untouched.
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/output
Package output owns native resumable receive output, task locking, journal persistence, compatible-name mapping, and recovery inventory.
Package output owns native resumable receive output, task locking, journal persistence, compatible-name mapping, and recovery inventory.
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