Skip to content

moznion/go-setlock

Repository files navigation

go-setlock

Build Status wercker status Go Documentation GitHub release

go-setlock is a go port of setlock (an utility of daemontools), and accompanying library.

Command Usage

setlock [ -nNxXvV ] file program [ arg ... ]

Command Features

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: Go Documentation

Author

moznion (moznion@gmail.com)

Contributor

  • lestrrat
  • mattn

License

MIT License