mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-15 18:59:52 +00:00
domain-modeling skill 升级后单上下文约定文件名为 GLOSSARY.md: git mv 保历史、内容零改动;AGENTS.md、docs/agents/domain.md 及 NG2 源码注释中的活引用随之对齐。docs/design、docs/research、ADR 中的旧名引用属历史记录,不改写。
24 lines
715 B
Swift
24 lines
715 B
Swift
/// 组激活时因已知本地阻塞问题被跳过的服务器。
|
||
struct SkippedServer: Equatable, Sendable {
|
||
let id: NodeID
|
||
let reason: LeafInvalidationReason
|
||
}
|
||
|
||
/// 激活产出:活动目标身份 + 完整派生文档。组目标保持组 UUID(GLOSSARY.md
|
||
/// 「Active target」),不被 sslocal 实际选中的后代替换。
|
||
struct RuntimeConfiguration: Equatable, Sendable {
|
||
let targetID: NodeID
|
||
let document: SslocalRuntimeDocument
|
||
let skippedServers: [SkippedServer]
|
||
|
||
init(
|
||
targetID: NodeID,
|
||
document: SslocalRuntimeDocument,
|
||
skippedServers: [SkippedServer] = []
|
||
) {
|
||
self.targetID = targetID
|
||
self.document = document
|
||
self.skippedServers = skippedServers
|
||
}
|
||
}
|