重构增加模型枚举值定义
This commit is contained in:
10
web/domains/node/types.go
Normal file
10
web/domains/node/types.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package node
|
||||
|
||||
type ISP int32
|
||||
|
||||
const (
|
||||
IspUnknown ISP = iota // 未知
|
||||
IspChinaTelecom // 中国电信
|
||||
IspChinaUnicom // 中国联通
|
||||
IspChinaMobile // 中国移动
|
||||
)
|
||||
Reference in New Issue
Block a user