Registry / utility / fzambia-sentinel

fzambia-sentinel

JSON →
library1.1.1gogounverified

Sentinel provides a simple way to handle graceful shutdown of Go applications.

go get github.com/FZambia/sentinel
INSTALL
IMPORT
SIG · FZAMBIA-SENTINEL
F
fzambia-sentinel
utilitygov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sentinel
github.com/FZambia/sentinel

Runs a goroutine and gracefully stops it.

package main import ( "fmt" "github.com/FZambia/sentinel" ) func main() { s := sentinel.New() s.Go(func() { fmt.Println("Running task") }) s.GracefulStop() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fzambia-sentinel — go get fzambia-sentinel · libregistry