rnet

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMulticastMACAddr

func IsMulticastMACAddr(addr net.HardwareAddr) bool

IsMulticastMACAddr returns true if the given MAC address is a multicast address. this indicates that the MAC is part of a group, and may not be the only address meant to receive the message.

func IsUniversalMACAddr

func IsUniversalMACAddr(addr net.HardwareAddr) bool

IsUniversalMACAddr returns true if the given MAC address is a universal address. this traditionally means the "burnt in address" of a network interface, but isn't always the case.

func OpenInBrowser

func OpenInBrowser(url string) (string, error)

OpenInBrowser checks for the presence of a display server and environment variables indicating a gui is present. If found then xdg-open is called on a url to open said url in the default gui web browser for the system

Types

This section is empty.

Jump to

Keyboard shortcuts

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