检查点:保存待复审的Nginx本地激活服务

This commit is contained in:
xuans committed 2026-09-18 02:20:38 +08:00
1 parent 89e443c768
commit cc94a6181b
10 files changed
+1046

No files matched your search

@@ -0,0 +1,16 @@
package nginxactivation
// State 不包含文件路径、私钥或完整配置,可通过受保护的本地协议返回。
type State struct {
ID string `json:"id,omitempty"`
Status string `json:"status"`
PreviousHash string `json:"previous_hash,omitempty"`
CandidateHash string `json:"candidate_hash,omitempty"`
}
type ReadyState struct {
Hostname string `json:"hostname"`
ProxyAddress string `json:"proxy_address"`
UpstreamAddress string `json:"upstream_address"`
LeafHash string `json:"leaf_hash"`
}