Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EndpointCache sync.Map
EndpointCache - keeps the best found endpoints between peers based on public key
View Source
var ServerAddrCache sync.Map // config.Server.Name -> []net.IP
ServerAddrCache - server addresses mapped to server names
Functions ¶
This section is empty.
Types ¶
type EndpointCacheValue ¶
EndpointCacheValue - type for storage for best local address
Click to show internal directories.
Click to hide internal directories.