mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-01 08:17:25 +00:00
rename
This commit is contained in:
@@ -174,7 +174,7 @@ func handleOutput(request *protocol.VMessRequest, writer io.Writer, output <-cha
|
||||
}
|
||||
|
||||
func init() {
|
||||
internal.MustRegisterInboundConnectionHandlerCreator("vmess",
|
||||
internal.MustRegisterInboundHandlerCreator("vmess",
|
||||
func(space app.Space, rawConfig interface{}) (proxy.InboundHandler, error) {
|
||||
config := rawConfig.(*Config)
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ func (this *VMessOutboundHandler) handleResponse(conn net.Conn, request *protoco
|
||||
}
|
||||
|
||||
func init() {
|
||||
internal.MustRegisterOutboundConnectionHandlerCreator("vmess",
|
||||
internal.MustRegisterOutboundHandlerCreator("vmess",
|
||||
func(space app.Space, rawConfig interface{}) (proxy.OutboundHandler, error) {
|
||||
vOutConfig := rawConfig.(*Config)
|
||||
return &VMessOutboundHandler{
|
||||
|
||||
Reference in New Issue
Block a user