sc

package
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() service.Service

func Init

func Init(start, stop func(), conf *Preferences) error

func Install

func Install() bool

func NotInstalled

func NotInstalled() bool

func Reinstall

func Reinstall() error

func Start

func Start() error

func Status

func Status() service.Status

func UnInstall

func UnInstall() bool

Types

type Action

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

func (Action) Start

func (a Action) Start(service.Service) error

func (Action) Stop

func (a Action) Stop(service.Service) error

type Preferences

type Preferences = service.Config

Jump to

Keyboard shortcuts

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