mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-16 06:54:14 +00:00
Enhance DNS and Dialer (#341)
This commit is contained in:
parent
ad1807dd99
commit
db32ce6fd9
22 changed files with 682 additions and 290 deletions
13
transport/global/config.go
Normal file
13
transport/global/config.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package global
|
||||
|
||||
import (
|
||||
"github.com/xtls/xray-core/transport/internet"
|
||||
)
|
||||
|
||||
// Apply applies this Config.
|
||||
func (c *Config) Apply() error {
|
||||
if c == nil {
|
||||
return nil
|
||||
}
|
||||
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue