Add dns transports

This commit is contained in:
世界 2022-07-06 18:48:11 +08:00
parent 81330d32e0
commit 651c4b539a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
10 changed files with 910 additions and 3 deletions

11
constant/dns.go Normal file
View file

@ -0,0 +1,11 @@
package constant
type DomainStrategy = uint8
const (
DomainStrategyAsIS DomainStrategy = iota
DomainStrategyPreferIPv4
DomainStrategyPreferIPv6
DomainStrategyUseIPv4
DomainStrategyUseIPv6
)