Xray-core/transport/internet/tcp/config.go

17 lines
287 B
Go
Raw Normal View History

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