system

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeepAlive

func KeepAlive()

KeepAlive keeps the system alive until a `SIGINT` or `SIGTERM` comes to the progress. It does that by opening up a channel and keeping it open until a termination signal comes.

Make sure you run it on the main thread (NOT in a goroutine) for it to take effect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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