1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-02-05 07:45:23 -05:00

common.Must

This commit is contained in:
Darien Raymond
2016-12-28 00:53:29 +01:00
parent 22fa151391
commit 7c751fcca0
14 changed files with 32 additions and 31 deletions

View File

@@ -297,5 +297,5 @@ func (v *ServerFactory) Create(space app.Space, rawConfig interface{}, meta *pro
}
func init() {
proxy.MustRegisterInboundHandlerCreator(serial.GetMessageType(new(ServerConfig)), new(ServerFactory))
common.Must(proxy.RegisterInboundHandlerCreator(serial.GetMessageType(new(ServerConfig)), new(ServerFactory)))
}