package
1.65.4
Repository: https://github.com/untangle/golang-shared.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetInterfaces returns a list of interfaces, filtered by any propeties passed in @param - filter func(InterfaceDetail) bool - a function filter to filter results if needed @return - []InterfaceDetail - an array of InterfaceDetail types.
No description provided by the author
Calls GetLocalInterfacesFromPath with default settings.json path.
Returns local interfaces.
Returns an InterfaceFilter function used to get VLANs.
Check Ip belong to device local IP address.
MostSpecificPrefixMatch returns from the networks and addr the network with the longest matching prefix.
NewInterfaceSettings returns an InterfaceSettings object which uses the file as it's underlying settings file.

# Constants

ConfigTypeBridged - If the interface is a bridged interface, this is its ConfigType.
TypeIPSec - If the interface is IPSEC, this is its Type.

# Structs

Interface corresponds to the interface JSON structure in the settings.json file.
InterfaceSettings is an object for manipulating the network/interfaces list in the settings.json file.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author