Documentation ¶
Index ¶
- type Implementation
- type Platform
- func (this *Platform) AttachedDisplays() []uint
- func (this *Platform) LoadAverages() (float64, float64, float64)
- func (this *Platform) NumberOfDisplays() uint
- func (this *Platform) Product() string
- func (this *Platform) SerialNumber() string
- func (this *Platform) String() string
- func (this *Platform) TemperatureZones() map[string]float32
- func (this *Platform) Type() gopi.PlatformType
- func (this *Platform) Uptime() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Implementation ¶
type Implementation struct{}
type Platform ¶
type Platform struct { gopi.Unit *Implementation // Implementation-specific members }
func (*Platform) AttachedDisplays ¶
Return attached displays
func (*Platform) LoadAverages ¶
Return 1, 5 and 15 minute load averages
func (*Platform) NumberOfDisplays ¶
Return number of displays
func (*Platform) TemperatureZones ¶
func (*Platform) Type ¶
func (this *Platform) Type() gopi.PlatformType
Click to show internal directories.
Click to hide internal directories.