1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 17:38:45 -05:00
v2fly/common/protocol/payload.go

17 lines
265 B
Go
Raw Normal View History

2017-05-02 16:23:07 -04:00
package protocol
2018-04-04 15:46:36 -04:00
type TransferType byte
2017-05-02 16:23:07 -04:00
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
)