repositorypackage
1.3.0
Repository: https://github.com/moznion/go-setlock.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
go-setlock
go-setlock is a go port of setlock (an utility of daemontools), and accompanying library.
Command Usage
setlock [ -nNxXvV ] file program [ arg ... ]
Command Features
- Functions of original setlock (See: http://cr.yp.to/daemontools/setlock.html)
- Support multiple environments
- Linux
- OS X
- Windows
Command Installation
- Download built archive from GitHub Releases and extract it
- Or install by
go get
command:go get github.com/moznion/go-setlock/cmd/setlock
Library Usage
go-setlock provides file based exclusive lock functions by setlock
package.
Please refer to the godoc:
Author
moznion ([email protected])
Contributor
lestrrat