mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-27 20:46:51 -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
|
|
}
|