1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-27 01:45:23 +00:00
v2fly/transport/internet/tcp/config.go

15 lines
276 B
Go
Raw Normal View History

2016-06-14 20:54:08 +00:00
package tcp
2016-10-02 21:43:58 +00:00
import (
"github.com/v2fly/v2ray-core/v5/common"
"github.com/v2fly/v2ray-core/v5/transport/internet"
2016-06-14 20:54:08 +00:00
)
2016-10-02 21:43:58 +00:00
2018-08-06 11:48:35 +00:00
const protocolName = "tcp"
2016-10-02 21:43:58 +00:00
func init() {
2019-01-06 19:33:58 +00:00
common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
2016-10-02 21:43:58 +00:00
return new(Config)
}))
2016-10-02 21:43:58 +00:00
}