SetUserData sets the generic user data associated to the node.
(data interface{})
| 231 | |
| 232 | // SetUserData sets the generic user data associated to the node. |
| 233 | func (n *Node) SetUserData(data interface{}) { |
| 234 | |
| 235 | n.userData = data |
| 236 | } |
| 237 | |
| 238 | // UserData returns the generic user data associated to the node. |
| 239 | func (n *Node) UserData() interface{} { |
no outgoing calls
no test coverage detected