MCPcopy
hub / github.com/aceld/zinx / Handle

Method Handle

znet/heartbeat.go:35–38  ·  view source on GitHub ↗
(req ziface.IRequest)

Source from the content-addressed store, hash-verified

33}
34
35func (r *HeatBeatDefaultRouter) Handle(req ziface.IRequest) {
36 zlog.Ins().DebugF("Recv Heartbeat from %s, MsgID = %+v, Data = %s",
37 req.GetConnection().RemoteAddr(), req.GetMsgID(), string(req.GetData()))
38}
39
40func HeatBeatDefaultHandle(req ziface.IRequest) {
41 zlog.Ins().DebugF("Recv Heartbeat from %s, MsgID = %+v, Data = %s",

Callers

nothing calls this directly

Calls 6

InsFunction · 0.92
DebugFMethod · 0.65
RemoteAddrMethod · 0.65
GetConnectionMethod · 0.65
GetMsgIDMethod · 0.65
GetDataMethod · 0.65

Tested by

no test coverage detected