Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sigterm

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.

Installation

go get -u github.com/josestg/sigterm

Footnotes

  1. https://github.com/caarlos0/env

  2. https://golang.org/pkg/flag/#TextVar

  3. https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html

About

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.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages