Add dns client

This commit is contained in:
世界
2022-07-06 23:11:48 +08:00
parent 63e1b53a49
commit 001dc5f62c
23 changed files with 582 additions and 145 deletions

View File

@@ -22,7 +22,7 @@ type overrideDialer struct {
uotEnabled bool
}
func newOverride(upstream N.Dialer, options option.OverrideStreamOptions) N.Dialer {
func NewOverride(upstream N.Dialer, options option.OverrideStreamOptions) N.Dialer {
return &overrideDialer{
upstream,
options.TLS,