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