mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-19 10:56:06 -05:00
17 lines
265 B
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)
|
|
}))
|
|
}
|