An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: gopkg.in/tomb.v1

The tomb package offers a conventional API for clean goroutine termination. A Tomb tracks the lifecycle of a goroutine as alive, dying or dead, and the reason for its death. The zero value of a Tomb assumes that a goroutine is about to be created or already alive. Once Kill or Killf is called with an argument that informs the reason for death, the goroutine is in a dying state and is expected to terminate soon. Right before the goroutine function or method returns, Done must be called to inform that the goroutine is indeed dead and about to stop running. A Tomb exposes Dying and Dead channels. These channels are closed when the Tomb state changes in the respective way. They enable explicit blocking until the state changes, and also to selectively unblock select statements accordingly. When the tomb state changes to dying and there's still logic going on within the goroutine, nested functions and methods may choose to return ErrDying as their error value, as this error won't alter the tomb state if provided to the Kill method. This is a convenient way to follow standard Go practices in the context of a dying tomb. For background and a detailed example, see the following blog post: For a more complex code snippet demonstrating the use of multiple goroutines with a single Tomb, see:
2 versions
Latest release: over 10 years ago
8,277 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/gopkg.in/tomb.v1

Dependent Repos 15

1024pix/steampipe-plugin-learningcontent
Steampipe plugin to query LCMS content

Size: 101 KB - Last synced: 3 days ago - Pushed: over 1 year ago

1024pix/steampipe-plugin-metabase
Use SQL to query databases, tables, permissions and more from Metabase

Size: 1.22 MB - Last synced: 3 days ago - Pushed: 3 days ago

mdenes/docker-machine-cloudstack

Last synced: 12 months ago - Pushed: 11 months ago

pocs/mdl-qor-sdk
This SDK is based upon [QOR](https://github.com/qor/qor) and aims to provide a boilerplate for quickly prototyping admin types applications.

Last synced: 7 months ago - Pushed: 11 months ago

swh/infra/ci-cd/3rdparty/alertmanager-irc-relay

Last synced: 7 months ago - Pushed: 11 months ago

swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi

Last synced: 7 months ago - Pushed: 11 months ago

betagouv/sealed-secrets Fork of bitnami-labs/sealed-secrets
A Kubernetes controller and tool for one-way encrypted Secrets

Size: 19.2 MB - Last synced: 7 days ago - Pushed: almost 3 years ago

tchapgouv/matrix-media-repo Fork of t2bot/matrix-media-repo
Matrix media repository with multi-domain in mind.

Size: 6.2 MB - Last synced: 7 days ago - Pushed: over 1 year ago

1024pix/goauth Fork of grokify/goauth
Utility libraries for Go (aka Golang) API auth including OAuth 2, JWT, TLS Client Authentication and Basic Auth.

Size: 737 KB - Last synced: 3 days ago - Pushed: about 1 year ago

radiofrance/ipahealthcheck_exporter Fork of camptocamp/ipahealthcheck_exporter
Prometheus exporter for exposing ipa-healthcheck tool checks as metrics

Size: 60.5 KB - Last synced: 7 days ago - Pushed: almost 4 years ago

pass-culture/pc-monitoring 📦

Size: 176 MB - Last synced: 7 months ago - Pushed: over 3 years ago

betagouv/pc-dashboard 📦

Size: 158 MB - Last synced: 7 days ago - Pushed: over 5 years ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube

Size: 2.99 MB - Last synced: 7 months ago - Pushed: 9 months ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stack

Last synced: 7 months ago

csan/csan
CSAN : A marketplace for science

Last synced: 7 months ago

SocialGouv/rollout-status Fork of clusterise/rollout-status
Alternative to kubectl rollout status

Size: 3.95 MB - Last synced: 6 days ago - Pushed: 2 months ago

ANSSI-FR/ultrablue
User-friendly Lightweight TPM Remote Attestation over Bluetooth

Size: 3.87 MB - Last synced: 7 days ago - Pushed: about 2 years ago

InseeFrLab/onyxia-cli
WIP

Size: 53.7 KB - Last synced: 7 days ago - Pushed: 11 days ago

SocialGouv/secretgen-controller Fork of carvel-dev/secretgen-controller
secretgen-controller provides CRDs to specify what secrets need to be on Kubernetes cluster (to be generated or not)

Size: 30.4 MB - Last synced: 6 days ago - Pushed: 11 months ago

CEREMA/k3s-snapshots

Size: 6.12 MB - Last synced: 1 day ago - Pushed: almost 3 years ago

CEREMA/k3-utils

Size: 6.15 MB - Last synced: 1 day ago - Pushed: almost 3 years ago