service

package
v0.0.0-...-6d09ece Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package service holds app services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreServices

type CoreServices struct {
	FanSrv FanService
}

CoreServices record struct.

type FanService

type FanService struct {
	// contains filtered or unexported fields
}

func NewFanService

func NewFanService(
	cpu system.CPU,
	drives []system.Drive,
	hddFanCurve [][]int,
	cpuFanCurve [][]int,
) *FanService

func (*FanService) IsRunning

func (f *FanService) IsRunning() bool

func (*FanService) RunFanLoop

func (f *FanService) RunFanLoop(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL