macos

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendTopCommand

func SendTopCommand(id int64, text string, duration time.Duration) error

SendTopCommand sends a command to the macOS app via HTTP to show a floating progress bar

Types

type TopCommand

type TopCommand struct {
	ID       int64         `json:"id"`
	Text     string        `json:"text"`
	Duration time.Duration `json:"duration"`
}

TopCommand represents a command to show a todo item in the macOS floating bar

Jump to

Keyboard shortcuts

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