networking

package
v0.90.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2025 License: Apache-2.0 Imports: 11 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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