Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadSysFile ¶
Types ¶
type FanDefaults ¶ added in v0.1.0
type FanThinkpad ¶
type FanThinkpad struct {
// contains filtered or unexported fields
}
func NewFanThinkpad ¶
func NewFanThinkpad(conf config.Fan) *FanThinkpad
func (*FanThinkpad) Defaults ¶ added in v0.1.0
func (f *FanThinkpad) Defaults() FanDefaults
func (*FanThinkpad) Init ¶
func (f *FanThinkpad) Init() error
func (*FanThinkpad) SetLevel ¶
func (f *FanThinkpad) SetLevel(level string) error
type ProfilePlatform ¶
type ProfilePlatform struct {
// contains filtered or unexported fields
}
func NewProfilePlatform ¶
func NewProfilePlatform(conf config.Profile) *ProfilePlatform
func (*ProfilePlatform) Init ¶
func (p *ProfilePlatform) Init() error
func (*ProfilePlatform) State ¶
func (p *ProfilePlatform) State() (string, error)
type SensorHwmon ¶
type SensorHwmon struct {
// contains filtered or unexported fields
}
func NewSensorHwmon ¶
func NewSensorHwmon(conf config.Sensor) *SensorHwmon
func (*SensorHwmon) Init ¶
func (s *SensorHwmon) Init() error
func (*SensorHwmon) Value ¶
func (s *SensorHwmon) Value() (float64, error)
Click to show internal directories.
Click to hide internal directories.