mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-14 20:39:36 +03:00
Enhance DNS and Dialer (#341)
This commit is contained in:
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)
|
||||
}
|
Reference in New Issue
Block a user