network

package
v2.13.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CachedDefaultInterface

func CachedDefaultInterface(
	logger *logrus.Logger,
	routeFile string,
	storage storage.Storage,
	ttl time.Duration,
) (string, error)

CachedDefaultInterface returns the default interface name used by the system. The result is cached and expired based on the given ttl.

func DefaultInterface

func DefaultInterface(routeFile string) (string, error)

DefaultInterface returns the default interface named used by the OS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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