go-systemctl

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2021 License: Apache-2.0

README

Systemctl / journalctl wrappers for Go

This is a small library that wraps the systemctl and journalctl CLIs for use in Go programs.

There are CGo implementations that does the same but these require no cgo and invokes the executables directly and parses the output.

This obviously only works on computers where there are systemctl and journalctl commands available.

This implements a bare minium of what's needed now so it's not exactly jam-packed with features :)

Directories

Path Synopsis
cmd
jctest command
sctest command
pkg
systemd
Package systemd uses the native systemctl/journalctl commands to interact with the systemd and journald services.
Package systemd uses the native systemctl/journalctl commands to interact with the systemd and journald services.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL