github.com/imannamdari/v2ray-core/v5@v5.0.5/transport/internet/tcp/config.go (about) 1 package tcp 2 3 import ( 4 "github.com/imannamdari/v2ray-core/v5/common" 5 "github.com/imannamdari/v2ray-core/v5/transport/internet" 6 ) 7 8 const protocolName = "tcp" 9 10 func init() { 11 common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} { 12 return new(Config) 13 })) 14 }