sing-box/common/sniff/domain.go

7 lines
132 B
Go
Raw Permalink Normal View History

2022-07-06 04:39:44 +00:00
package sniff
import _ "unsafe" // for linkname
//go:linkname IsDomainName net.isDomainName
func IsDomainName(domain string) bool