interfaces

package
v0.0.0-...-6d6b7b8 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package interfaces contains helpers for looking up system network interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tailscale

func Tailscale() ([]netaddr.IP, *net.Interface, error)

Tailscale returns the current machine's Tailscale interface, if any. If none is found, all zero values are returned. A non-nil error is only returned on a problem listing the system interfaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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