Skip to content

tus/lockfile

 
 

Repository files navigation

lockfile

Handle locking via pid files.

Attention: This is a fork of Ingo Oeser's amazing work whose behavior differs a bit. While the original package allows a process to obtain the same lock twice, this fork forbids this behavior.

Build Status

Install

Install one of the two latest major releases of Go. Then run

go get github.com/tus/lockfile

Documentation

Package documentation at pkg.go.dev.

Contributing

Contributions are welcome. Please open an issue or send me a pull request for a dedicated branch.

License

MIT