restart

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package restart provides pure functions for determining server restart requirements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRestartType

func GetRestartType(cfg *config.Config) string

GetRestartType returns the type of restart needed. Returns "HTTP-only" for listener-only changes, "full" for other restart-required changes.

func IsHTTPOnlyRestart

func IsHTTPOnlyRestart(cfg *config.Config) bool

IsHTTPOnlyRestart determines if only HTTP listener needs restart. Returns true if config is non-nil (simplified check). In production, this would check which specific settings changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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