1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 17:38:45 -05:00
v2fly/transport/internet/tcp/config.go

15 lines
250 B
Go
Raw Normal View History

2016-06-14 16:54:08 -04:00
package tcp
2016-10-02 17:43:58 -04:00
import (
"v2ray.com/core/common"
2016-10-02 17:43:58 -04:00
"v2ray.com/core/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() {
2018-08-06 07:48:35 -04:00
common.Must(internet.RegisterProtocolConfigCreatorByName(protocolName, func() interface{} {
2016-10-02 17:43:58 -04:00
return new(Config)
}))
2016-10-02 17:43:58 -04:00
}