socket handler has been changed.

This commit is contained in:
crusader
2017-09-11 11:22:11 +09:00
parent 00d02cfba7
commit df15f27bca
4 changed files with 85 additions and 50 deletions

View File

@@ -37,7 +37,7 @@ func (h *webJSONRpcHandlers) OnRequest(soc ogw.Socket, method string, params []s
zap.Any("params", params),
)
uid := server.GetUID(soc)
uid := server.GetUID(soc.Path(), soc)
md := metadata.Pairs("email", uid)
ctx := metadata.NewOutgoingContext(context.Background(), md)