syscall

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: BSD-3-Clause Imports: 6 Imported by: 4

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

func Trace added in v0.1.3

func Trace(c int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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