mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-05 12:39:21 +02:00
14 lines
245 B
Go
14 lines
245 B
Go
|
package transport
|
||
|
|
||
|
import (
|
||
|
"github.com/xtls/xray-core/v1/transport/internet"
|
||
|
)
|
||
|
|
||
|
// Apply applies this Config.
|
||
|
func (c *Config) Apply() error {
|
||
|
if c == nil {
|
||
|
return nil
|
||
|
}
|
||
|
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
|
||
|
}
|