networking

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindBestEndpoint

func FindBestEndpoint(peerIp, peerPubKey string, peerListenPort, metricsPort int)

FindBestEndpoint - requests against a given addr and port

func InitialiseIfaceMetricsServer added in v0.90.0

func InitialiseIfaceMetricsServer(ctx context.Context, wg *sync.WaitGroup)

func IpBelongsToInterface added in v0.90.0

func IpBelongsToInterface(ip net.IP) bool

IpBelongsToInterface - function to check if an IP belongs to any network interface

func SetPeerEndpoint added in v1.0.0

func SetPeerEndpoint(peerPubKey string, value cache.EndpointCacheValue) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL