A subset of the syscall
package for terminating processes. This package provides a Signal
type that implements
the encoding.TextMarshaller
and encoding.TextUnmarshaler
interfaces for text-based serialization and deserialization.
It can be used for configuration management using environment variables1 or flags 2.
List of termination signals can be found in the GNU libc manual 3.
go get -u github.com/josestg/sigterm