1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-07 22:04:30 -04:00
v2fly/common/protocol/payload.go

17 lines
264 B
Go
Raw Normal View History

2017-05-02 16:23:07 -04:00
package protocol
type TransferType int
const (
TransferTypeStream TransferType = 0
TransferTypePacket TransferType = 1
)
2017-10-21 15:59:46 -04:00
type AddressType byte
const (
AddressTypeIPv4 AddressType = 1
AddressTypeDomain AddressType = 2
AddressTypeIPv6 AddressType = 3
)