service

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemdManager

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

func NewSystemdManager

func NewSystemdManager() (*SystemdManager, error)

func (*SystemdManager) Install

func (sm *SystemdManager) Install(interval time.Duration, dryRun bool) error

func (*SystemdManager) IsInstalled

func (sm *SystemdManager) IsInstalled() bool

func (*SystemdManager) Status

func (sm *SystemdManager) Status() (string, error)

func (*SystemdManager) Uninstall

func (sm *SystemdManager) Uninstall() error

type TemplateData

type TemplateData struct {
	BinaryPath string
	Interval   string
}

Jump to

Keyboard shortcuts

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