Commit 1ca64ac5 authored by AlexStocks's avatar AlexStocks

Mod: packge -> package

parent 7e92b864
...@@ -82,7 +82,7 @@ func (h *RpcServerHandler) OnMessage(session getty.Session, pkg interface{}) { ...@@ -82,7 +82,7 @@ func (h *RpcServerHandler) OnMessage(session getty.Session, pkg interface{}) {
req, ok := pkg.(GettyRPCRequestPackage) req, ok := pkg.(GettyRPCRequestPackage)
if !ok { if !ok {
log.Error("illegal packge{%#v}", pkg) log.Error("illegal package{%#v}", pkg)
return return
} }
// heartbeat // heartbeat
...@@ -202,7 +202,7 @@ func (h *RpcClientHandler) OnClose(session getty.Session) { ...@@ -202,7 +202,7 @@ func (h *RpcClientHandler) OnClose(session getty.Session) {
func (h *RpcClientHandler) OnMessage(session getty.Session, pkg interface{}) { func (h *RpcClientHandler) OnMessage(session getty.Session, pkg interface{}) {
p, ok := pkg.(*GettyRPCResponsePackage) p, ok := pkg.(*GettyRPCResponsePackage)
if !ok { if !ok {
log.Error("illegal packge{%#v}", pkg) log.Error("illegal package{%#v}", pkg)
return return
} }
log.Debug("get rpc response{%#v}", p) log.Debug("get rpc response{%#v}", p)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment