Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IDFromAddress ¶
IDFromAddress generates an id for the given TCP address using the same method as the gorums Manager type uses for generating its global node identifiers. The id is generated by resolving the TCP address and hashing the "ip:port" combination using 32-bit FNV-1.
func IDFromHostPort ¶
IDFromHostPort generates an id for the given TCP address using the same method as the gorums Manager type uses for generating its global node identifiers. The id is generated by resolving the TCP address and hashing the "ip:port" combination using 32-bit FNV-1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.