The highest tagged major version is
v3.
package
Version:
v2.2.4
Opens a new window with list of versions in this module.
Published: Jul 1, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Device struct {
Kind Kind `json:"kind" table:"KIND"`
Hostname string `json:"hostname" table:"HOSTNAME"`
LocalIP net.IP `json:"local_ip" table:"LOCAL_IP"`
RemoteIP net.IP `json:"remote_ip,omitempty" table:"REMOTE_IP"`
Up bool `json:"up" yaml:"up" table:"UP"`
}
Devices lists all of the devices on the local network.
const (
DeviceKindUnknown Kind = "unknown"
DeviceKindRouter Kind = "router"
DeviceKindCurrent Kind = "current-device"
DeviceKindPeer Kind = "peer"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.