mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-24 10:03:07 +07:00
15 lines
338 B
Go
15 lines
338 B
Go
package dialer
|
|
|
|
import (
|
|
D "github.com/daeuniverse/outbound/dialer"
|
|
"github.com/daeuniverse/softwind/netproxy"
|
|
)
|
|
|
|
func NewDirectDialer(option *GlobalOption, fullcone bool) (netproxy.Dialer, *Property) {
|
|
d, _p := D.NewDirectDialer(&option.ExtraOption, fullcone)
|
|
return d, &Property{
|
|
Property: *_p,
|
|
SubscriptionTag: "",
|
|
}
|
|
}
|