/locker

Primary LanguageGoMIT LicenseMIT

locker

This is a library to create a file for the life of a process, possibly containing something like a pid, or more, based on what interface you pass in.

It has the ability to remove the file on a context cancellation, or to manually remove the file.