pulse

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUStatParser

type CPUStatParser interface {
	ReadCPU() error
	Usage() float64
}

type Pulsar

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

func NewPulsar

func NewPulsar(parser CPUStatParser) *Pulsar

func (*Pulsar) Start

func (p *Pulsar) Start() error

Start runs the main loop: updates CPU, calculates BPM, and draws cardiogram.

Jump to

Keyboard shortcuts

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