Xray-core/common/protocol/payload.go

17 lines
265 B
Go
Raw Normal View History

2020-11-25 14:01:53 +03:00
package protocol
type TransferType byte
const (
TransferTypeStream TransferType = 0
TransferTypePacket TransferType = 1
)
type AddressType byte
const (
AddressTypeIPv4 AddressType = 1
AddressTypeDomain AddressType = 2
AddressTypeIPv6 AddressType = 3
)