netutil

package
v0.0.0-...-bbc9ce3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdvertisement

func GetAdvertisement(ctx context.Context, nodename string, ipv6Addr *net.UDPAddr) (*net.UDPAddr, *netboot.Advertisement, func(), error)

GetAdvertisement returns the netsvc address for the given node along with the advertisement message sent from the node. If both nodename and ipv6Addr are provided, GetAdvertisement will listen for a node that matches both.

func GetNodeAddress

func GetNodeAddress(ctx context.Context, nodename string) (*net.UDPAddr, error)

GetNodeAddress returns the netsvc address of nodename.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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