mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-14 20:39:36 +03:00
v1.0.0
This commit is contained in:
16
common/protocol/payload.go
Normal file
16
common/protocol/payload.go
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
||||
)
|
Reference in New Issue
Block a user