notify

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package notify provides facilities for notifying process managers of state changes, mainly for when running as a system service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error added in v2.6.0

func Error(err error, errno int) error

Error is like Status, but sends systemd an error message instead, with an optional errno-style error number.

func Ready added in v2.6.0

func Ready() error

Ready notifies systemd that caddy has finished its initialization routines.

func Reloading added in v2.6.0

func Reloading() error

Reloading notifies systemd that caddy is reloading its config.

func Status added in v2.6.0

func Status(msg string) error

Status sends systemd an updated status message.

func Stopping added in v2.6.0

func Stopping() error

Stopping notifies systemd that caddy is stopping.

Types

This section is empty.

Jump to

Keyboard shortcuts

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