gracehttp

package
v0.0.0-...-3d70625 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2015 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(servers ...*http.Server) error

Serve either serves on the previously opened sockets if started with systemd-compatible protocol, or:

  • opens sockets and starts /proc/self/exe in a subprocess with systemd-compatible protocol
  • gracefully terminates subprocess on SIGTERM
  • gracefully restarts subprocess on SIGUSR2

Types

This section is empty.

Jump to

Keyboard shortcuts

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