Xray-core/transport/global/config.go

14 lines
239 B
Go
Raw Normal View History

2021-03-06 18:29:17 +02:00
package global
2020-11-25 13:01:53 +02:00
import (
2020-12-04 03:36:16 +02:00
"github.com/xtls/xray-core/transport/internet"
2020-11-25 13:01:53 +02:00
)
// Apply applies this Config.
func (c *Config) Apply() error {
if c == nil {
return nil
}
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
}