v2ray-core/transport/internet/tcp/config.go

17 lines
265 B
Go

// +build !confonly
package tcp
import (
"v2ray.com/core/common"
"v2ray.com/core/transport/internet"
)
const protocolName = "tcp"
func init() {
common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
return new(Config)
}))
}