Files
ShadowsocksX-NG/ShadowsocksX-NG2/Domain/RuntimeConfiguration.swift
T
Qiu Yuzhou 7bb327ba1d docs(domain): CONTEXT.md 改名 GLOSSARY.md 并对齐引用
domain-modeling skill 升级后单上下文约定文件名为 GLOSSARY.md:
git mv 保历史、内容零改动;AGENTS.md、docs/agents/domain.md 及
NG2 源码注释中的活引用随之对齐。docs/design、docs/research、ADR
中的旧名引用属历史记录,不改写。
2026-10-04 15:06:41 +08:00

24 lines
715 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/// 组激活时因已知本地阻塞问题被跳过的服务器。
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
}
}