2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +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

12
pkg/types/status.go Normal file
View File

@@ -0,0 +1,12 @@
package types
// 定义面板状态常量
const (
StatusNormal = iota
StatusMaintain
StatusClosed
StatusUpgrade
StatusFailed
)
var Status = StatusNormal