1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00
v2fly/transport/config.go

14 lines
247 B
Go
Raw Normal View History

2016-06-02 01:49:25 +02:00
package transport
2016-06-14 22:54:08 +02:00
import (
"github.com/v2fly/v2ray-core/v5/transport/internet"
2016-06-14 22:54:08 +02:00
)
2016-06-11 19:51:02 +08:00
2016-06-11 13:29:33 +02:00
// Apply applies this Config.
func (c *Config) Apply() error {
if c == nil {
2016-10-14 21:19:26 +02:00
return nil
}
2018-04-04 00:29:30 +02:00
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
2016-06-02 01:49:25 +02:00
}