mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -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)
|
|
}))
|
|
}
|