summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-18Change the notify signature (again). BREAKING CHANGE.v0.4.0Luke Shumaker
I think this should reduce the cognitive load of using the function.
2017-01-18sd_daemon: Update a comment.Luke Shumaker
2017-01-18Fix sd_daemon.NotifyLuke Shumaker
I was working with net.UnixConn.WriteMsgUnix() incorrectly. Literally the only example of this I can find in the wild is in CoreOS go-systemd, which does the same thing I did. Unfortunately go-systemd only hits that codepath as a fall-back if the primary code path errors... and the test suite only hits the primary code path.
2017-01-14sd_id128: use ioutil.ReadFile instead of rolling my own readfile.Luke Shumaker
2016-12-27Documentation improvements.Luke Shumaker
Also, I renamed a couple of the sd_id128 functions for better clarity. But since I haven't pushed since originally implementing them, I'm not labeling it as a breaking change.
2016-12-27Merge sd_daemon/lsb into sd_daemon. BREAKING CHANGE.v0.3.0Luke Shumaker
2016-12-27Implement sd_id128Luke Shumaker
2016-12-22sd_daemon/log.go: Shave off a byte, fix a comment.Luke Shumaker
2016-12-19Improve documentation.Luke Shumaker
2016-12-19Whoops, methods need to be on *Logger, not LoggerLuke Shumaker
2016-12-19Use golang.org/x/sys/unix instead of the deprecated syscall.Luke Shumaker
2016-12-18sd_daemon/log: cheapen WriteString/WriteBytes.Luke Shumaker
2016-12-18gofmtLuke Shumaker
2016-12-18Implement almost all of sd-daemon. BREAKING CHANGES.v0.2.0Luke Shumaker
This does not include the sd_is_* utility functions. BREAKING CHANGES: - The import name is now "sd_daemon" instead of "sd". - The logger interface is now entirely different. - Notify now takes more arguments.
2016-07-22oopsLuke Shumaker
2016-07-22ListenFds: Detect file names from LISTEN_FDNAMES.Luke Shumaker
2015-11-23gometalinterLuke Shumaker
2015-11-23gometalinter, ishLuke Shumaker
2015-11-08gofmtLuke Shumaker
2015-11-08add readme.goLuke Shumaker
2015-11-06fix import pathLuke Shumaker
2015-11-03*sigh* avoid reliance on systemd headers.Luke Shumaker
What I'd really like to do is have `go generate` download the headers if they aren't on the system. But, that will have to be a later commit.
2015-10-26make gofmt complain slightly lessLuke Shumaker
2015-09-18Massive documentation and copyright clean-up.Luke Shumaker
2015-09-03Use a defer/recover block to have the exit status on panic match LSB.Luke Shumaker
2015-09-03fix sd_daemon/logger arg passingLuke Shumaker
2015-09-03Use systemd/lsb exit codes, consistentlyLuke Shumaker
2015-08-26workLuke Shumaker
2015-08-26clean upLuke Shumaker
2015-08-25initial commitv0.1.0Luke Shumaker