2016-06-14 22:54:08 +02:00
|
|
|
package tcp
|
|
|
|
|
2016-10-02 23:43:58 +02:00
|
|
|
import (
|
2017-01-12 12:54:34 +01:00
|
|
|
"v2ray.com/core/common"
|
2016-10-02 23:43:58 +02:00
|
|
|
"v2ray.com/core/transport/internet"
|
2016-06-14 22:54:08 +02:00
|
|
|
)
|
2016-10-02 23:43:58 +02:00
|
|
|
|
2018-08-06 13:48:35 +02:00
|
|
|
const protocolName = "tcp"
|
|
|
|
|
2016-10-02 23:43:58 +02:00
|
|
|
func init() {
|
2018-08-06 13:48:35 +02:00
|
|
|
common.Must(internet.RegisterProtocolConfigCreatorByName(protocolName, func() interface{} {
|
2016-10-02 23:43:58 +02:00
|
|
|
return new(Config)
|
2017-01-12 12:54:34 +01:00
|
|
|
}))
|
2016-10-02 23:43:58 +02:00
|
|
|
}
|