添加代理与节点的注册与端口分配接口功能
This commit is contained in:
16
web/domains/edge/types.go
Normal file
16
web/domains/edge/types.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package edge
|
||||
|
||||
type ISP int32
|
||||
|
||||
const (
|
||||
IspUnknown ISP = iota // 未知
|
||||
IspChinaTelecom // 中国电信
|
||||
IspChinaUnicom // 中国联通
|
||||
IspChinaMobile // 中国移动
|
||||
)
|
||||
|
||||
type Type int32
|
||||
|
||||
const (
|
||||
TypeSelfHosted Type = iota + 1 // 自建节点
|
||||
)
|
||||
Reference in New Issue
Block a user