mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
refactor: 重构types包
This commit is contained in:
12
pkg/types/status.go
Normal file
12
pkg/types/status.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package types
|
||||
|
||||
// 定义面板状态常量
|
||||
const (
|
||||
StatusNormal = iota
|
||||
StatusMaintain
|
||||
StatusClosed
|
||||
StatusUpgrade
|
||||
StatusFailed
|
||||
)
|
||||
|
||||
var Status = StatusNormal
|
||||
Reference in New Issue
Block a user