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 ¶
DefaultInterface returns the default interface named used by the OS.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.