autostart

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package autostart installs a service for the current user, without elevation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plan

type Plan struct {
	ID, Path, Content                       string
	Install, Start, Stop, Status, Uninstall [][]string
}

func Build

func Build(platform, home, config, executable, userID string) (Plan, error)

func (Plan) Run

func (p Plan) Run(ctx context.Context, action string) (string, error)

Jump to

Keyboard shortcuts

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