autostart

package
v0.0.0-...-b22edc6 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Autostart

type Autostart interface {
	Disable() error
	Enable() error
}

Autostart holds the functions to enable and disable the application autostart

func NewAutostart

func NewAutostart(appName string, iconPath string) Autostart

NewAutostart creates a handler for the autostart of your platform

type DummyAutostart

type DummyAutostart struct{}

func (*DummyAutostart) Disable

func (a *DummyAutostart) Disable() error

func (*DummyAutostart) Enable

func (a *DummyAutostart) Enable() error

Jump to

Keyboard shortcuts

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