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

13 lines
234 B
Go
Raw Normal View History

2016-06-14 20:54:08 +00:00
package tcp
2016-10-02 21:43:58 +00:00
import (
"v2ray.com/core/common"
2016-10-02 21:43:58 +00:00
"v2ray.com/core/transport/internet"
2016-06-14 20:54:08 +00:00
)
2016-10-02 21:43:58 +00:00
func init() {
common.Must(internet.RegisterProtocolConfigCreator(internet.TransportProtocol_TCP, func() interface{} {
2016-10-02 21:43:58 +00:00
return new(Config)
}))
2016-10-02 21:43:58 +00:00
}