execution

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: GPL-2.0 Imports: 10 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignalStart

func SignalStart(e *echo.Echo, listenAddress string, config *Config)

SignalStart Starts the server on the provided address as a goroutine. Listens for the following signals: syscall.SIGHUP: Reload the server syscall.SIGINT: Stop the server gracefully syscall.SIGTERM: Stop the server immediately

Types

type Config

type Config struct {
	ReloadFunc    func()
	StopFunc      func()
	TerminateFunc func()
}

Jump to

Keyboard shortcuts

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