sing-box/common/sniff/domain.go
2022-07-06 12:39:44 +08:00

7 lines
132 B
Go

package sniff
import _ "unsafe" // for linkname
//go:linkname IsDomainName net.isDomainName
func IsDomainName(domain string) bool