interfaces

package
Version: v0.0.0-...-859a28a Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL