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

15 lines
266 B
Go
Raw Normal View History

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