processchecker

package module
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 6 Imported by: 0

README

ProcessChecker

Маленькая библиотека для проектов Go, проверяющая, что указанный процесс уже запущен. С версии 1.2.0 выполняется отдельная проверка для Windows и UNIX систем Необходимо передавать путь к файлу pid. Например, "/tmp/process_name.pid"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(pidFile string) error

Types

type Logger

type Logger struct {
	*slog.Logger
}

Jump to

Keyboard shortcuts

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