config

package
v0.1.11-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDataDir

func DefaultDataDir() string

func HasScheduleOverride

func HasScheduleOverride(dataDir string) bool

func Save

func Save(cfg Config) error

Types

type Config

type Config struct {
	DataDir           string
	CoordinatorURL    string
	ModelID           string
	HeartbeatInterval time.Duration
	ScheduleFrom      string
	ScheduleUntil     string
	MaxTempC          int
	HardTempC         int
	ThermalHysteresis int
	PauseIdleTimeout  time.Duration
}

func Load

func Load(dataDir string) (Config, error)

Jump to

Keyboard shortcuts

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