mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-23 07:23:01 +00:00
17 lines
265 B
Go
17 lines
265 B
Go
|
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
|
||
|
)
|