Then I implemented setlock command by golang, called go-setlock.
go-setlock has functions which are equivalent to the original setlock. And go-setlock has following pros;
- You can use it without installing daemontools
- Supporting Windows!!!
The former is useful for environments which cannot install daemontools, minimalists and etc.
The latter is pretty powerful. The original setlock is not available on Windows however go-setlock can use on there.