2016-06-14 16:54:08 -04:00
|
|
|
package tcp
|
|
|
|
|
2016-10-02 17:43:58 -04:00
|
|
|
import (
|
2022-01-02 10:16:23 -05:00
|
|
|
"github.com/v2fly/v2ray-core/v5/common"
|
|
|
|
"github.com/v2fly/v2ray-core/v5/transport/internet"
|
2016-06-14 16:54:08 -04:00
|
|
|
)
|
2016-10-02 17:43:58 -04:00
|
|
|
|
2018-08-06 07:48:35 -04:00
|
|
|
const protocolName = "tcp"
|
|
|
|
|
2016-10-02 17:43:58 -04:00
|
|
|
func init() {
|
2019-01-06 14:33:58 -05:00
|
|
|
common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
|
2016-10-02 17:43:58 -04:00
|
|
|
return new(Config)
|
2017-01-12 06:54:34 -05:00
|
|
|
}))
|
2016-10-02 17:43:58 -04:00
|
|
|
}
|