You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prometheus/vendor/github.com/nightlyone/lockfile
..
LICENSE
README.md
appveyor.yml
lockfile.go
lockfile_unix.go
lockfile_windows.go

README.md

lockfile

Handle locking via pid files.

Build Status Unix Build status Windows

install

Install Go 1, either from source or with a prepackaged binary. For Windows suport, Go 1.4 or newer is required.

Then run

go get github.com/nightlyone/lockfile

LICENSE

BSD

documentation

package documentation at godoc.org

install

go get github.com/nightlyone/lockfile

contributing

Contributions are welcome. Please open an issue or send me a pull request for a dedicated branch. Make sure the git commit hooks show it works.

git commit hooks

enable commit hooks via

    cd .git ; rm -rf hooks; ln -s ../git-hooks hooks ; cd ..