setup

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfig

func ApplyConfig(si *instance.ServerInstance, newConf *config.Config,
	clients backends.Backends, hupFunc dr.Reloader, errorFunc func(),
) error

func BootstrapConfig

func BootstrapConfig() (*config.Config, backends.Backends, error)

BootstrapConfig loads, validates, processes and prepares a configuration along with its backend clients. This centralizes the common initialization logic used by both startup and reload operations.

func LoadAndValidate

func LoadAndValidate() (*config.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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