| 1234567891011121314151617181920212223 | package transportimport (	"github.com/v2ray/v2ray-core/transport/internet/kcp"	"github.com/v2ray/v2ray-core/transport/internet/tcp")// Config for V2Ray transport layer.type Config struct {	tcpConfig *tcp.Config	kcpConfig *kcp.Config}// Apply applies this Config.func (this *Config) Apply() error {	if this.tcpConfig != nil {		this.tcpConfig.Apply()	}	if this.kcpConfig != nil {		this.kcpConfig.Apply()	}	return nil}
 |