From f59d7ed571fb19408828c2131e1f5f3e3cffb62b Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Tue, 2 Jun 2020 08:45:12 +0000 Subject: [PATCH] docs: update docs links in README This updates documentation links in README, in order to use the new module setup and abandon the now deprecated `godoc.org`. --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b83d0683..9fac5130 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # go-systemd [![Build Status](https://travis-ci.org/coreos/go-systemd.png?branch=master)](https://travis-ci.org/coreos/go-systemd) -[![godoc](https://godoc.org/github.com/coreos/go-systemd?status.svg)](http://godoc.org/github.com/coreos/go-systemd) +[![godoc](https://img.shields.io/badge/godoc-reference-5272B4)](https://pkg.go.dev/mod/github.com/coreos/go-systemd/v22/?tab=packages) ![minimum golang 1.12](https://img.shields.io/badge/golang-1.12%2B-orange.svg) @@ -24,13 +24,15 @@ https://github.com/coreos/go-systemd/tree/master/examples/activation/httpserver ## systemd Service Notification -The `daemon` package is an implementation of the [sd_notify protocol](https://www.freedesktop.org/software/systemd/man/sd_notify.html#Description). It can be used to inform systemd of service start-up completion, watchdog events, and other status changes. +The `daemon` package is an implementation of the [sd_notify protocol](https://www.freedesktop.org/software/systemd/man/sd_notify.html#Description). +It can be used to inform systemd of service start-up completion, watchdog events, and other status changes. ## D-Bus -The `dbus` package connects to the [systemd D-Bus API](http://www.freedesktop.org/wiki/Software/systemd/dbus/) and lets you start, stop and introspect systemd units. The API docs are here: +The `dbus` package connects to the [systemd D-Bus API](http://www.freedesktop.org/wiki/Software/systemd/dbus/) and lets you start, stop and introspect systemd units. +[API documentation][dbus-doc] is available online. -http://godoc.org/github.com/coreos/go-systemd/dbus +[dbus-doc]: https://pkg.go.dev/github.com/coreos/go-systemd/v22/dbus?tab=doc ### Debugging