2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00

refactor: 重构types包

This commit is contained in:
耗子
2024-06-23 01:32:45 +08:00
parent 89e133c626
commit 7ff084e5a8
47 changed files with 41 additions and 35 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/TheTNB/panel/pkg/os"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/str"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type Fail2banController struct {

View File

@@ -16,7 +16,7 @@ import (
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/str"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type MySQLController struct {

View File

@@ -13,7 +13,7 @@ import (
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/str"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type OpenRestyController struct {

View File

@@ -1,9 +1,10 @@
package plugins
import (
"github.com/goravel/framework/contracts/http"
"github.com/TheTNB/panel/app/http/controllers"
"github.com/TheTNB/panel/internal/services"
"github.com/goravel/framework/contracts/http"
)
type PHPController struct{}

View File

@@ -14,7 +14,7 @@ import (
"github.com/TheTNB/panel/pkg/io"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type PostgreSQLController struct {

View File

@@ -12,7 +12,7 @@ import (
"github.com/TheTNB/panel/pkg/os"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type PureFtpdController struct {

View File

@@ -9,7 +9,7 @@ import (
"github.com/TheTNB/panel/pkg/io"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type RedisController struct {

View File

@@ -12,7 +12,7 @@ import (
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/str"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type RsyncController struct {

View File

@@ -13,7 +13,7 @@ import (
"github.com/TheTNB/panel/internal/services"
"github.com/TheTNB/panel/pkg/io"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/types"
"github.com/TheTNB/panel/pkg/types"
)
type S3fsController struct {