Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 1MB/s BandwidthUnit = 1024 * 1024 // 1GB StorageUnit = 1024 * 1024 * 1024 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device represents a device and its properties
func (*Device) GetBandwidthDown ¶
GetBandwidthDown returns the bandwidth download limit for the device.
func (*Device) GetBandwidthUp ¶
GetBandwidthUp returns the bandwidth upload limit for the device.
func (*Device) GetInternalIP ¶
GetInternalIP returns the internal IP address for the device.
Click to show internal directories.
Click to hide internal directories.