[systemd-devel] Soliciting feedback for golang bindings to the systemd journal C API
Dan Mace
dmace at redhat.com
Tue Jun 10 06:07:57 PDT 2014
----- Original Message -----
> From: "David Timothy Strauss" <david at davidstrauss.net>
> To: "Dan Mace" <dmace at redhat.com>
> Cc: appinfra-list at redhat.com, "systemd Mailing List" <systemd-devel at lists.freedesktop.org>
> Sent: Monday, June 9, 2014 8:29:11 PM
> Subject: Re: [systemd-devel] Soliciting feedback for golang bindings to the systemd journal C API
>
> The CoreOS crew has already done most of this work by writing a native
> Go implementation (rather than wrapping the C APIs).
>
Can you please point me to the implementation? All I've seen is this:
https://github.com/coreos/go-systemd/blob/master/journal/send.go
Which only handles writes via the Unix socket. The implementation we're prototyping supports journal queries in ways that (to my knowledge) aren't possible without either forking to external tools (e.g. journalctl) or linking to sd-journal.
If there's already code out there which satisfies the need, I'd be happy to use and contribute to it.
--
Dan Mace
OpenShift, PaaS by Red Hat
More information about the systemd-devel
mailing list