signal

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleFunc

type HandleFunc func()

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) CloseSignalHandler

func (t *Handler) CloseSignalHandler()

func (*Handler) InitSignalHandler

func (t *Handler) InitSignalHandler(listenChanSize uint32) error

func (*Handler) ListenSignal

func (t *Handler) ListenSignal()

func (*Handler) RegisterSignal

func (t *Handler) RegisterSignal(signal os.Signal, handleFunc HandleFunc) bool

Jump to

Keyboard shortcuts

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