leech/doc.go

21 lines
764 B
Go

// Package leech is a project trying to create
// "leeching" processes that may attach to other existing processes.
//
// The idea for a leech is that a program that "deploys" leeches may exit
// and the leeches will still be alive, independent to the original
// executing program.
//
// A leech itself is simply a struct containing a few identifiers
// known at the process's start up and a pointer to the go process.
//
// The Leech inherits the methods that a bug describes,
// allowing the setting of process identifiers, access to process data
// such as status and meta.
//
// The pattern for creating the processes is largely inspired by
// the go-daemon project:
//
// https://github.com/sevlyar/go-daemon/blob/master/daemon_unix.go#L104
//
package leech