GetNodeId return current node id for sending msg
()
| 164 | |
| 165 | //GetNodeId return current node id for sending msg |
| 166 | func (this *SyncFlightInfo) GetNodeId() uint64 { |
| 167 | this.lock.RLock() |
| 168 | defer this.lock.RUnlock() |
| 169 | return this.nodeId |
| 170 | } |
| 171 | |
| 172 | //SetNodeId set a new node id |
| 173 | func (this *SyncFlightInfo) SetNodeId(nodeId uint64) { |
no outgoing calls
no test coverage detected