syscall

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnCustom

func OnCustom(callFunc func(), sig ...os.Signal)

OnCustom calling a function if you send a system custom event

func OnStop

func OnStop(callFunc func())

OnStop calling a function if you send a system event stop

func OnUp

func OnUp(callFunc func())

OnUp calling a function if you send a system event SIGHUP

func Pid

func Pid(filename string) error

Pid write pid file

Types

This section is empty.

Jump to

Keyboard shortcuts

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