sing-quic/tuic/address.go
2023-09-12 21:08:46 +08:00

10 lines
307 B
Go

package tuic
import M "github.com/sagernet/sing/common/metadata"
var AddressSerializer = M.NewSerializer(
M.AddressFamilyByte(0x00, M.AddressFamilyFqdn),
M.AddressFamilyByte(0x01, M.AddressFamilyIPv4),
M.AddressFamilyByte(0x02, M.AddressFamilyIPv6),
M.AddressFamilyByte(0xff, M.AddressFamilyEmpty),
)