SetNodeInfo sets the switch's NodeInfo for checking compatibility and handshaking with other nodes. NOTE: Not goroutine safe.
(nodeInfo NodeInfo)
| 209 | // SetNodeInfo sets the switch's NodeInfo for checking compatibility and handshaking with other nodes. |
| 210 | // NOTE: Not goroutine safe. |
| 211 | func (sw *Switch) SetNodeInfo(nodeInfo NodeInfo) { |
| 212 | sw.nodeInfo = nodeInfo |
| 213 | } |
| 214 | |
| 215 | // NodeInfo returns the switch's NodeInfo. |
| 216 | // NOTE: Not goroutine safe. |
no outgoing calls
no test coverage detected