mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
17 lines
264 B
Go
17 lines
264 B
Go
package protocol
|
|
|
|
type TransferType int
|
|
|
|
const (
|
|
TransferTypeStream TransferType = 0
|
|
TransferTypePacket TransferType = 1
|
|
)
|
|
|
|
type AddressType byte
|
|
|
|
const (
|
|
AddressTypeIPv4 AddressType = 1
|
|
AddressTypeDomain AddressType = 2
|
|
AddressTypeIPv6 AddressType = 3
|
|
)
|