serviceinstall

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCancelled = errors.New("service action cancelled by user")

Functions

This section is empty.

Types

type Options

type Options struct {
	Port        string
	StoragePath string
	DBType      string
	DBPath      string
	BinaryPath  string
	WorkingDir  string
	ServiceName string
	Language    string
	Input       io.Reader
	Output      io.Writer
}

type Result

type Result struct {
	OS          string
	Arch        string
	OSVersion   string
	InitSystem  string
	BinaryPath  string
	ServicePath string
	Commands    []string
}

func Install

func Install(ctx context.Context, options Options) (Result, error)

func Uninstall

func Uninstall(ctx context.Context, options Options) (Result, error)

Jump to

Keyboard shortcuts

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