service

package
v0.0.0-...-831d3d4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureServiceRunning

func EnsureServiceRunning(serviceName string) error

func InstallService

func InstallService(a InstallConfig) error

func IsServiceRunning

func IsServiceRunning(name string) (bool, error)

func ServiceExists

func ServiceExists(name string) (bool, error)

func StartService

func StartService(name string) error

func UninstallService

func UninstallService(name string) error

Types

type InstallConfig

type InstallConfig struct {
	Name     string
	Display  string
	Path     string
	Algod    string
	Data     string
	User     string
	Password string

	GOMEMLIMIT string
}

Jump to

Keyboard shortcuts

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