mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-08 19:28:21 -05:00
14 lines
231 B
Go
14 lines
231 B
Go
package transport
|
|
|
|
import (
|
|
"v2ray.com/core/transport/internet"
|
|
)
|
|
|
|
// Apply applies this Config.
|
|
func (c *Config) Apply() error {
|
|
if c == nil {
|
|
return nil
|
|
}
|
|
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
|
|
}
|