Categorygithub.com/mdlayher/sdnotify
modulepackage
1.0.0
Repository: https://github.com/mdlayher/sdnotify.git
Documentation: pkg.go.dev

# README

sdnotify Test Status Go Reference Go Report Card

Package sdnotify implements systemd readiness notifications as described in https://www.freedesktop.org/software/systemd/man/sd_notify.html. MIT Licensed.

# Packages

No description provided by the author

# Functions

New creates a Notifier which sends notifications to the UNIX socket specified by the NOTIFY_SOCKET environment variable.
Open creates a Notifier which sends notifications to the UNIX socket specified by sock.
Statusf creates a formatted STATUS notification with the input format string and values.

# Constants

Common notification values.
Common notification values.
Socket is the predefined systemd notification socket environment variable.
Common notification values.

# Structs

A Notifier can notify systemd of service status and readiness.