From 9713b32ba892eabf3e1c3e8f7575141b1ef7e787 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Sun, 7 Jan 2024 22:36:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9A=82=E6=97=B6=E5=88=A0=E9=99=A4=20?= =?UTF-8?q?xpack=20=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81=20(#3519)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/router/entry_xpack.go | 11 ----------- backend/server/init_xpack.go | 9 --------- 2 files changed, 20 deletions(-) delete mode 100644 backend/router/entry_xpack.go delete mode 100644 backend/server/init_xpack.go diff --git a/backend/router/entry_xpack.go b/backend/router/entry_xpack.go deleted file mode 100644 index 4e7b3d3c5..000000000 --- a/backend/router/entry_xpack.go +++ /dev/null @@ -1,11 +0,0 @@ -//go:build xpack - -package router - -import "github.com/1Panel-dev/1Panel/backend/xpack/router" - -func RouterGroups() []CommonRouter { - return append(commonGroups(), []CommonRouter{&router.WafRouter{}}...) -} - -var RouterGroupApp = RouterGroups() diff --git a/backend/server/init_xpack.go b/backend/server/init_xpack.go deleted file mode 100644 index 30ef6d6a4..000000000 --- a/backend/server/init_xpack.go +++ /dev/null @@ -1,9 +0,0 @@ -//go:build xpack - -package server - -import "github.com/1Panel-dev/1Panel/backend/xpack" - -func InitOthers() { - xpack.InitXpack() -}