Init the StatFHelper
(comm *Communicator, servant string)
| 52 | |
| 53 | // Init the StatFHelper |
| 54 | func (s *StatFHelper) Init(comm *Communicator, servant string) { |
| 55 | s.servant = servant |
| 56 | s.comm = comm |
| 57 | s.sf = new(statf.StatF) |
| 58 | s.comm.StringToProxy(s.servant, s.sf) |
| 59 | } |
| 60 | |
| 61 | func (s *StatFHelper) collectMsg(statInfo StatInfo, mStatInfo map[statf.StatMicMsgHead]statf.StatMicMsgBody, mStatCount map[statf.StatMicMsgHead]int) { |
| 62 | if body, ok := mStatInfo[statInfo.Head]; ok { |
no test coverage detected