mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 21:07:17 +00:00
7a63faf734
This adds two new methods to UDPv5, AllNodes and LocalNode. AllNodes returns all the nodes stored in the local table; this is useful for the purposes of metrics collection and also debugging any potential issues with other discovery v5 implementations. LocalNode returns the local node object. The reason for exposing this is so that users can modify and set/delete new key-value entries in the local record. |
||
---|---|---|
.. | ||
common.go | ||
lookup.go | ||
node.go | ||
ntp.go | ||
table_test.go | ||
table_util_test.go | ||
table.go | ||
v4_lookup_test.go | ||
v4_udp_test.go | ||
v4_udp.go | ||
v5_encoding_test.go | ||
v5_encoding.go | ||
v5_session.go | ||
v5_udp_test.go | ||
v5_udp.go |