mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-02 09:17:55 -04:00
15 lines
256 B
Go
15 lines
256 B
Go
package tcp
|
|
|
|
import (
|
|
v2net "v2ray.com/core/common/net"
|
|
"v2ray.com/core/transport/internet"
|
|
|
|
"github.com/golang/protobuf/proto"
|
|
)
|
|
|
|
func init() {
|
|
internet.RegisterNetworkConfigCreator(v2net.Network_TCP, func() proto.Message {
|
|
return new(Config)
|
|
})
|
|
}
|