mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 09:56:18 -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
|
|
}
|