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

refactor: 新年快乐

This commit is contained in:
耗子
2025-01-01 15:33:47 +08:00
parent c88d2baf42
commit 8b0e7bcaa9
161 changed files with 525 additions and 525 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/mholt/acmez/v3"
"github.com/mholt/acmez/v3/acme"
"github.com/TheTNB/panel/pkg/cert"
"github.com/tnb-labs/panel/pkg/cert"
)
const (

View File

@@ -8,7 +8,7 @@ import (
"github.com/mholt/acmez/v3"
"github.com/mholt/acmez/v3/acme"
"github.com/TheTNB/panel/pkg/cert"
"github.com/tnb-labs/panel/pkg/cert"
)
type Certificate struct {

View File

@@ -15,8 +15,8 @@ import (
"github.com/mholt/acmez/v3/acme"
"golang.org/x/net/publicsuffix"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/tnb-labs/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/systemctl"
)
type httpSolver struct {

View File

@@ -9,7 +9,7 @@ import (
_ "github.com/go-sql-driver/mysql"
"github.com/TheTNB/panel/pkg/types"
"github.com/tnb-labs/panel/pkg/types"
)
type MySQL struct {

View File

@@ -4,8 +4,8 @@ import (
"errors"
"fmt"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/tnb-labs/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/systemctl"
)
// MySQLResetRootPassword 重置 MySQL root密码

View File

@@ -8,8 +8,8 @@ import (
_ "github.com/lib/pq"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/TheTNB/panel/pkg/types"
"github.com/tnb-labs/panel/pkg/systemctl"
"github.com/tnb-labs/panel/pkg/types"
)
type Postgres struct {

View File

@@ -11,8 +11,8 @@ import (
"github.com/spf13/cast"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/systemctl"
"github.com/tnb-labs/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/systemctl"
)
type Firewall struct {

View File

@@ -5,7 +5,7 @@ import (
"path/filepath"
"strings"
"github.com/TheTNB/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/shell"
)
type FormatArchive string

View File

@@ -5,7 +5,7 @@ import (
"path/filepath"
"strings"
"github.com/TheTNB/panel/pkg/chattr"
"github.com/tnb-labs/panel/pkg/chattr"
)
// Write 写入文件

View File

@@ -7,7 +7,7 @@ import (
"strconv"
"strings"
"github.com/TheTNB/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/shell"
)
// Remove 删除文件/目录

View File

@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/suite"
"github.com/TheTNB/panel/pkg/io"
"github.com/tnb-labs/panel/pkg/io"
)
type NginxTestSuite struct {

View File

@@ -8,7 +8,7 @@ import (
"github.com/beevik/ntp"
"github.com/TheTNB/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/shell"
)
var ErrNotReachable = errors.New("无法连接到 NTP 服务器")

View File

@@ -4,7 +4,7 @@ import (
"errors"
"fmt"
"github.com/TheTNB/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/shell"
)
// Status 获取服务状态

View File

@@ -19,8 +19,8 @@ import (
"github.com/shirou/gopsutil/mem"
"github.com/shirou/gopsutil/net"
"github.com/TheTNB/panel/pkg/shell"
"github.com/TheTNB/panel/pkg/types"
"github.com/tnb-labs/panel/pkg/shell"
"github.com/tnb-labs/panel/pkg/types"
)
// CurrentInfo 获取监控数据

View File

@@ -1,7 +1,7 @@
package container
import (
"github.com/TheTNB/panel/pkg/types/docker"
"github.com/tnb-labs/panel/pkg/types/docker"
)
// Container contains response of Engine API: