重构增加模型枚举值定义
This commit is contained in:
9
web/domains/channel/types.go
Normal file
9
web/domains/channel/types.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package channel
|
||||
|
||||
type Protocol int32
|
||||
|
||||
const (
|
||||
ProtocolHttp Protocol = iota + 1
|
||||
ProtocolHttps
|
||||
ProtocolSocks5
|
||||
)
|
||||
Reference in New Issue
Block a user