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{}) {
req, ok := pkg.(GettyRPCRequestPackage)
if !ok {
log.Error("illegal packge{%#v}", pkg)
log.Error("illegal package{%#v}", pkg)
return
}
// heartbeat
......@@ -202,7 +202,7 @@ func (h *RpcClientHandler) OnClose(session getty.Session) {
func (h *RpcClientHandler) OnMessage(session getty.Session, pkg interface{}) {
p, ok := pkg.(*GettyRPCResponsePackage)
if !ok {
log.Error("illegal packge{%#v}", pkg)
log.Error("illegal package{%#v}", pkg)
return
}
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