Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayDevice ¶
type GatewayDevice struct {
// contains filtered or unexported fields
}
GatewayDevice represents a scanned gateway device
func (GatewayDevice) String ¶
func (device GatewayDevice) String() string
String returns human-readable string representation of gatewayDevice
func (GatewayDevice) ToMap ¶
func (device GatewayDevice) ToMap() map[string]string
ToMap returns a map representation of the device
type GatewayLoader ¶
type GatewayLoader struct {
// contains filtered or unexported fields
}
GatewayLoader fetches the gateways once and keeps them stored for further use
func (*GatewayLoader) Get ¶
func (gl *GatewayLoader) Get() []GatewayDevice
Get returns the gateway devices
func (*GatewayLoader) HumanReadable ¶
func (gl *GatewayLoader) HumanReadable() []map[string]string
HumanReadable returns a human readable representation of the devices
Click to show internal directories.
Click to hide internal directories.