Реализован production-hardening по fix1: env/reconfigure, IPv4-only, TLS, secrets, firewall, docs

This commit is contained in:
2026-04-26 07:27:06 +05:00
parent 2b4a45ad23
commit 3fccd5c442
109 changed files with 1773 additions and 569 deletions
-1
View File
@@ -29,4 +29,3 @@ type AccountInfoVo struct {
Username string `json:"username"`
Roles []string `json:"roles"`
}
-1
View File
@@ -5,4 +5,3 @@ type ConfigVo struct {
Value string `json:"value"`
Remark string `json:"remark"`
}
-1
View File
@@ -38,4 +38,3 @@ type Hysteria2AcmePathVo struct {
CrtPath string `json:"crtPath"`
KeyPath string `json:"keyPath"`
}
+3 -3
View File
@@ -1,7 +1,7 @@
package vo
type JwtVo struct {
TokenType string `json:"tokenType"`
AccessToken string `json:"accessToken"`
TokenType string `json:"tokenType"`
AccessToken string `json:"accessToken"`
ForcePasswordChange bool `json:"forcePasswordChange"`
}
-1
View File
@@ -21,4 +21,3 @@ type LogHysteria2Vo struct {
Msg string `json:"msg"`
Time string `json:"time"`
}
-1
View File
@@ -13,4 +13,3 @@ type Hysteria2MonitorVo struct {
Version string `json:"version"` // Версия
Running bool `json:"running"` // Статус выполнения
}
-1
View File
@@ -44,4 +44,3 @@ func Fail(message string, c *gin.Context) {
Data: nil,
})
}
-1
View File
@@ -6,4 +6,3 @@ type BaseVo struct {
Id int64 `json:"id"`
CreateTime time.Time `json:"createTime"`
}