mirror of https://github.com/XTLS/Xray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
239 B
14 lines
239 B
4 years ago
|
package global
|
||
4 years ago
|
|
||
|
import (
|
||
4 years ago
|
"github.com/xtls/xray-core/transport/internet"
|
||
4 years ago
|
)
|
||
|
|
||
|
// Apply applies this Config.
|
||
|
func (c *Config) Apply() error {
|
||
|
if c == nil {
|
||
|
return nil
|
||
|
}
|
||
|
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
|
||
|
}
|