Продакшн рефактор без легаси
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user