Documentation ¶
Index ¶
- func FormatMask(mask net.IPMask) string
- func Gateway() (net.IP, error)
- func GetIPForInterface(interfaceName string) (ipAddress *net.IPNet, err error)
- func GetPfSenseVersion() string
- func Network() ([]inform.Interface, error)
- func Request(address string, version string) (inform.Inform, error)
- func RequestFromPfsense(address string, version string, pfsense pfconf.Configuration, ...) (inform.Inform, error)
- func SysStats() (inform.SysStats, error)
- type InterfaceMedia
- type PfSenseTranslation
- type PfSenseTranslationTable
- type TranslatedInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMask ¶
func GetIPForInterface ¶
func GetPfSenseVersion ¶
func GetPfSenseVersion() string
func RequestFromPfsense ¶
func RequestFromPfsense(address string, version string, pfsense pfconf.Configuration, translation PfSenseTranslationTable, speedtest *inform.SpeedTestStatus) (inform.Inform, error)
Types ¶
type InterfaceMedia ¶
func GetInterfaceMedia ¶
func GetInterfaceMedia(iface string) (InterfaceMedia, error)
type PfSenseTranslation ¶
type PfSenseTranslation struct { Wan TranslatedInterface Wan2 TranslatedInterface Lan TranslatedInterface Uid TranslatedInterface }
type PfSenseTranslationTable ¶
Click to show internal directories.
Click to hide internal directories.