Package: golang-github-ysmood-leakless-dev
Source: golang-github-ysmood-leakless
Version: 0.9.0-4
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Installed-Size: 12227
Section: golang
Priority: optional
Multi-Arch: foreign
Homepage: https://github.com/ysmood/leakless
Description: kill the sub-process when the main process exits (library)
 Golang doesn't provide a way for third-party packages to implicitly
 register a callback when the main process exits to do cleanups. If you
 fail to explicitly add proper code in your main to kill sub-processes
 that are created by third-party packages they may keep running after the
 main process exists or crashes.
 .
 Leakless ensures to kill the sub-process when the main process exits.
 .
 How it works:
 .
  1. Main process outputs a standalone executable file and executes it as
     a guard process.
  2. A TCP connection is created between main process and the guard
     process.
  3. The guard process starts the sub-process.
  4. If the TCP connection is closed, the guard process will kill the sub-
     process.
 .
 This package contains the Go library.
