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

15 lines
261 B
Go
Raw Normal View History

2016-08-13 13:44:36 +00:00
package ws
2016-10-02 21:43:58 +00:00
import (
v2net "v2ray.com/core/common/net"
"v2ray.com/core/transport/internet"
2016-08-13 13:44:36 +00:00
2016-10-02 21:43:58 +00:00
"github.com/golang/protobuf/proto"
2016-08-13 13:44:36 +00:00
)
2016-10-02 21:43:58 +00:00
func init() {
internet.RegisterNetworkConfigCreator(v2net.Network_WebSocket, func() proto.Message {
return new(Config)
})
}