重构增加模型枚举值定义
This commit is contained in:
16
web/domains/resource/types.go
Normal file
16
web/domains/resource/types.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package resource
|
||||
|
||||
type Type int32
|
||||
|
||||
const (
|
||||
TypeDynamic Type = iota + 1 // 动态
|
||||
TypeTunnel // 隧道
|
||||
TypePrivate // 私有
|
||||
)
|
||||
|
||||
type PssType int32
|
||||
|
||||
const (
|
||||
PssTypeTime PssType = iota + 1 // 包时
|
||||
PssTypeCount // 包量
|
||||
)
|
||||
Reference in New Issue
Block a user