mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
refactor: 新年快乐
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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密码
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/TheTNB/panel/pkg/shell"
|
||||
"github.com/tnb-labs/panel/pkg/shell"
|
||||
)
|
||||
|
||||
type FormatArchive string
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/TheTNB/panel/pkg/chattr"
|
||||
"github.com/tnb-labs/panel/pkg/chattr"
|
||||
)
|
||||
|
||||
// Write 写入文件
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/TheTNB/panel/pkg/shell"
|
||||
"github.com/tnb-labs/panel/pkg/shell"
|
||||
)
|
||||
|
||||
// Remove 删除文件/目录
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 服务器")
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/TheTNB/panel/pkg/shell"
|
||||
"github.com/tnb-labs/panel/pkg/shell"
|
||||
)
|
||||
|
||||
// Status 获取服务状态
|
||||
|
||||
@@ -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 获取监控数据
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user