README ¶ ProcessChecker Маленькая библиотека для проектов Go, проверяющая, что указанный процесс уже запущен. С версии 1.2.0 выполняется отдельная проверка для Windows и UNIX систем Необходимо передавать путь к файлу pid. Например, "/tmp/process_name.pid" Expand ▾ Collapse ▴ Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Run(pidFile string) error type Logger 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 } Source Files ¶ View all Source files kill_unix.goprocesschecker.go Click to show internal directories. Click to hide internal directories.