Documentation

Overview

    Package gracehttp provides easy to use graceful restart functionality for HTTP server.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Serve

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

      Serve will serve the given http.Servers and will monitor for signals allowing for graceful termination (SIGTERM) or restart (SIGUSR2).

      Types

      This section is empty.

      Source Files