mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
13 lines
160 B
Go
13 lines
160 B
Go
|
package net
|
||
|
|
||
|
const (
|
||
|
TCPNetwork = Network("tcp")
|
||
|
UDPNetwork = Network("udp")
|
||
|
)
|
||
|
|
||
|
type Network string
|
||
|
|
||
|
type NetworkList interface {
|
||
|
HasNetwork(Network) bool
|
||
|
}
|