sigfn

package module
v0.0.0-...-d6cc29f Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 5 Imported by: 0

README

SigFn

GoDoc codecov Go Report Card

Bind functions to signal interrupts.

Requirements

This module requires cgo.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(signum syscall.Signal, handler func(syscall.Signal)) error

Handle a signal using the handler function

func Ignore

func Ignore(signum syscall.Signal) error

Ignore a signal

func Reset

func Reset(signum syscall.Signal) error

Reset a signal to its default behavior

Types

This section is empty.

Jump to

Keyboard shortcuts

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