15 lines
266 B
Go
Raw Normal View History

2020-11-25 19:01:53 +08:00
package tcp
import (
2020-12-04 09:36:16 +08:00
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/transport/internet"
2020-11-25 19:01:53 +08:00
)
const protocolName = "tcp"
func init() {
common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
return new(Config)
}))
}