windshare

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0

Directories

Path Synopsis
cmd
windshare command
windshare 是 CLI 入口(执行计划 §6.9):`share <paths>` 仅 stat 出链接并 在线供块,`get <link>` 解析链接、拉清单、下载落盘。
windshare 是 CLI 入口(执行计划 §6.9):`share <paths>` 仅 stat 出链接并 在线供块,`get <link>` 解析链接、拉清单、下载落盘。
windshare/internal/cli
Package cli 承载 windshare 的子命令逻辑(执行计划 §6.9)。
Package cli 承载 windshare 的子命令逻辑(执行计划 §6.9)。
Package connectivity composes session-scoped signaling with transport-neutral frame channels.
Package connectivity composes session-scoped signaling with transport-neutral frame channels.
core module
Package e2e 是 M1a(CLI↔CLI over relay)的黑盒验收套件(执行计划 §11 T6.1): 编译真实的 wsrelay 与 windshare 二进制,以三进程往返为主判据,覆盖完整哈希 一致、选择性下载、断点续传、发送端断线重连、分享中改文件中止、空文件/空目录 物化、已存在同名拒绝、分离密钥、传输篡改与恶意清单拒收(§6.9/§6.11/§6.13)。
Package e2e 是 M1a(CLI↔CLI over relay)的黑盒验收套件(执行计划 §11 T6.1): 编译真实的 wsrelay 与 windshare 二进制,以三进程往返为主判据,覆盖完整哈希 一致、选择性下载、断点续传、发送端断线重连、分享中改文件中止、空文件/空目录 物化、已存在同名拒绝、分离密钥、传输篡改与恶意清单拒收(§6.9/§6.11/§6.13)。
internal
testnetwork
Package testnetwork keeps real Windows socket tests out of random go-build executables while preserving their full effect in the fixed-path harness.
Package testnetwork keeps real Windows socket tests out of random go-build executables while preserving their full effect in the fixed-path harness.
relay
admission
Package admission owns relay resource policy and its accounting lifecycle.
Package admission owns relay resource policy and its accounting lifecycle.
cmd/wsrelay command
wsrelay 是中转/信令服务器入口(执行计划 §6.8):WS hub 承载 register/join/ 信令转发/回退数据面,HTTP 仅 health/config。
wsrelay 是中转/信令服务器入口(执行计划 §6.8):WS hub 承载 register/join/ 信令转发/回退数据面,HTTP 仅 health/config。
forward
Package forward 实现 P2P 失败时的应用层加密字节转发数据面(执行计划 §6.8): 按 sessionId 维护独立的有界控制/数据队列,控制先行且跨会话公平;终局 控制排空后才移除会话。
Package forward 实现 P2P 失败时的应用层加密字节转发数据面(执行计划 §6.8): 按 sessionId 维护独立的有界控制/数据队列,控制先行且跨会话公平;终局 控制排空后才移除会话。
httpapi
Package httpapi 提供中转的 HTTP 面(执行计划 §6.8):仅 health/config (config 通告支持的线协议版本与限额,供客户端预检,§6.7)与 WS Origin 白名单。
Package httpapi 提供中转的 HTTP 面(执行计划 §6.8):仅 health/config (config 通告支持的线协议版本与限额,供客户端预检,§6.7)与 WS Origin 白名单。
protocol
Package protocol 存放信令 JSON 消息、普通转发与终局转发的 sessionId 包裹 类型(执行计划 §6.2/§6.7)。
Package protocol 存放信令 JSON 消息、普通转发与终局转发的 sessionId 包裹 类型(执行计划 §6.2/§6.7)。
signaling
Package signaling 实现按 shareId 的 WS hub(执行计划 §6.8):register/join (join 是清单的唯一获取路径)、SDP/ICE 转发、sessionId 分配、断线宽限 重注册(resumeToken 原像 + sealedManifest 字节一致)与信令高优先发送队列。
Package signaling 实现按 shareId 的 WS hub(执行计划 §6.8):register/join (join 是清单的唯一获取路径)、SDP/ICE 转发、sessionId 分配、断线宽限 重注册(resumeToken 原像 + sealedManifest 字节一致)与信令高优先发送队列。
scripts
internal/d5capabilityprobe command
Command d5capabilityprobe exercises the Windows test-only authorization boundary without opening a socket or spawning a production child.
Command d5capabilityprobe exercises the Windows test-only authorization boundary without opening a socket or spawning a production child.
internal/d5networkpolicy command
Command d5networkpolicy proves the compiler-visible test resource boundary.
Command d5networkpolicy proves the compiler-visible test resource boundary.
transport
relay
Package relay implements core/session.FrameChannel over the versioned relay WebSocket protocol.
Package relay implements core/session.FrameChannel over the versioned relay WebSocket protocol.
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.
web
e2e/fixtures/hostile-sender command
Command hostile-sender registers an authenticated manifest whose path policy violation cannot be produced by the normal CLI.
Command hostile-sender registers an authenticated manifest whose path policy violation cannot be produced by the normal CLI.

Jump to

Keyboard shortcuts

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