notify

package
v2.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

func Ready() error

Ready notifies systemd that caddy has finished its initialization routines.

func Reloading

func Reloading() error

Reloading notifies systemd that caddy is reloading its config.

func Status

func Status(msg string) error

Status sends systemd an updated status message.

func Stopping

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