utils

package
v0.0.0-...-5f17d81 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SelfLogger *logger.Logger
)

Functions

func CheckIfServiceIsActive

func CheckIfServiceIsActive(serv string) (bool, error)

func CleanString

func CleanString(s string) string

func Execute

func Execute(c string, dir string, arg ...string) error

func ExecuteWithResult

func ExecuteWithResult(c string, dir string, arg ...string) (string, bool)

func GetMyPath

func GetMyPath() string

func InitLogger

func InitLogger(filename string)

func RestartService

func RestartService(serv string) error

func StopService

func StopService(name string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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