Продакшн рефактор без легаси

This commit is contained in:
2026-04-30 20:54:38 +05:00
parent c10ab1fafd
commit 4a0d9569d1
41 changed files with 193 additions and 888 deletions
+4 -2
View File
@@ -5,12 +5,14 @@ import (
"hy2xs-admin/controller"
)
func initHysteria2AuthRouter(hysteria2Api *gin.RouterGroup) {
func initHysteria2MachineAuthRouter(hysteria2Api *gin.RouterGroup) {
hysteria2 := hysteria2Api.Group("/hysteria2")
{
hysteria2.POST("/auth", controller.Hysteria2Auth)
}
}
func initHysteria2SubscribeRouter(hysteria2Api *gin.RouterGroup) {
hysteria2Api.GET("/:conPass", controller.Hysteria2Subscribe)
}