mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-23 05:36:06 +03:00
14 lines
239 B
Go
14 lines
239 B
Go
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)
|
|
}
|